Actualizar plugin Additionals a 3.0.0

This commit is contained in:
Manuel Cillero 2020-11-22 21:30:25 +01:00
parent 3d976f1b3b
commit a26f5567af
399 changed files with 70374 additions and 4093 deletions

View file

@ -0,0 +1,14 @@
class CreateDashboardRoles < ActiveRecord::Migration[5.2]
def change
create_table :dashboard_roles do |t|
t.references :dashboard,
null: false,
foreign_key: { on_delete: :cascade }
t.references :role,
null: false,
type: :integer,
foreign_key: { on_delete: :cascade }
t.index %i[dashboard_id role_id], name: 'dashboard_role_ids', unique: true
end
end
end