1 class CreateSheets < ActiveRecord::Migration
3 create_table :sheets do |t|
4 t.string :caption, :null => false, :limit => 100
5 t.integer :width, :null => false, :default => 839
6 t.integer :height, :null => false, :default => 1191
7 t.integer :visible, :null => false, :default => 0
8 t.integer :author_id, :null => false