1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20181217103256_create_history_values.rb

14 lines
329 B
Ruby
Raw Normal View History

# frozen_string_literal:true
class CreateHistoryValues < ActiveRecord::Migration[4.2]
2018-12-17 16:02:02 +01:00
def change
create_table :history_values do |t|
t.references :setting, index: true, foreign_key: true
t.references :user, index: true, foreign_key: true
t.string :value
t.timestamps null: false
end
end
end