kaps_app/db/migrate/20160409202431_create_specific_preferences.rb
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +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