olwen_techno_app/db/migrate/20160409202431_create_specific_preferences.rb
Nicolas Bally 2efaf19094 initial
2018-08-30 22:44:43 +02: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