chaix_app/db/migrate/20180317222007_create_edit_watchers.rb
Nicolas Bally 6a8e471b82 intial
2019-02-01 13:53:57 +01:00

13 lines
288 B
Ruby

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