Add explicit rails versioning in migrations

This commit is contained in:
Alex Sherman 2021-04-26 18:54:26 +05:00
parent 45fa13c815
commit 8359abcf92
386 changed files with 386 additions and 386 deletions

View file

@ -1,4 +1,4 @@
class PopulateRoles < ActiveRecord::Migration
class PopulateRoles < ActiveRecord::Migration[6.0]
def change
rename_column :roles, :name, :code
remove_column :users, :admin, :boolean