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

14 lines
329 B
Ruby

# frozen_string_literal:true
class CreateHistoryValues < ActiveRecord::Migration[4.2]
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