Sha256: 605b39569559157f3cf79a84d51739505173c147ccf82e47cf355baab1f3588c
Contents?: true
Size: 336 Bytes
Versions: 3
Compression:
Stored size: 336 Bytes
Contents
class CreateRolePermissions < ActiveRecord::Migration[5.2] def change create_table :role_permissions do |t| t.references :role, index: true, foreign_key: {on_delete: :cascade} t.references :permission, index: true, foreign_key: {on_delete: :cascade} t.timestamps end end end
Version data entries
3 entries across 3 versions & 1 rubygems