musifrat_app/db/migrate/20160409202431_create_specific_preferences.rb
Nicolas Bally a1aef72f7f intial
2019-02-03 15:12:58 +01:00

15 lines
290 B
Ruby

class CreateSpecificPreferences < ActiveRecord::Migration
def change
create_table :specific_preferences do |t|
t.string :key
t.string :value
t.timestamps null: false
end
SpecificPreference.create(:key => "noe-en-cours", :value => "82")
end
end