2017-08-31 12:06:56 +08:00
|
|
|
class CreateSites < ActiveRecord::Migration[4.2]
|
2013-02-05 14:16:51 -05:00
|
|
|
def change
|
|
|
|
create_table :sites do |t|
|
|
|
|
t.string :title, limit: 100, null: false
|
2017-08-08 00:48:36 +09:00
|
|
|
t.timestamps null: false
|
2013-02-05 14:16:51 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|