OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / db / migrate / 20130906044356_create_scrolls.rb
1 class CreateScrolls < ActiveRecord::Migration
2   def change
3     create_table :scrolls do |t|
4       t.string :title, :null => false, :limit => 100
5       t.integer :visible, :null => false, :default => 0
6       t.text :description
7       t.integer :author_id, :null => false
8
9       t.timestamps
10     end
11   end
12 end