basic_app/db/migrate/20190528130555_create_s_sites.rb
Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +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