pollen_app/db/migrate/20190528130555_create_s_sites.rb
Nicolas Bally 120e9803eb initial
2020-04-28 14:51:42 +02:00

13 lines
244 B
Ruby

class CreateSSites < ActiveRecord::Migration[6.0]
def change
create_table :s_sites do |t|
t.string :name
t.text :description
t.boolean :externe
t.references :s_site_type
t.timestamps
end
end
end