lockaz_app/migrations/00240_create_edit_watchers.rb
Nicolas Bally f20fe482c6 initial
2020-04-06 10:38:07 +02:00

13 lines
283 B
Ruby

class CreateEditWatchers < ActiveRecord::Migration[6.0]
def change
create_table :edit_watchers do |t|
t.string :element_type
t.integer :element_id
t.string :key
t.references :admin, index: true
t.timestamps
end
end
end