lib/generators/cancannible/templates/migration.rb in cancannible-1.0.1 vs lib/generators/cancannible/templates/migration.rb in cancannible-2.0.0
- old
+ new
@@ -1,5 +1,5 @@
-class CreateCancanniblePermissions < ActiveRecord::Migration
+class CreateCancanniblePermissions < ActiveRecord::Migration[6.1]
def change
create_table :permissions, force: true do |table|
table.integer :permissible_id
table.string :permissible_type
table.integer :resource_id