mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
12 lines
294 B
Ruby
12 lines
294 B
Ruby
class CreateHistoryValues < ActiveRecord::Migration
|
|
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
|