mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 20:26:35 +08:00
9 lines
190 B
Ruby
9 lines
190 B
Ruby
class CreateSites < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :sites do |t|
|
|
t.string :title, limit: 100, null: false
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|