sadem_app/db/migrate/20190528130555_create_s_sites.rb
Nicolas Bally 000500e534 init
2020-02-25 02:33:11 +01: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