Remove unused profile flags / role columns
These were made redundant by #67
This commit is contained in:
parent
3aa2e5899c
commit
2bf7d29e98
|
@ -0,0 +1,10 @@
|
||||||
|
class RemoveUnusedProfileFlags < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
remove_column :users, :admin
|
||||||
|
remove_column :users, :blogger
|
||||||
|
remove_column :users, :contributor
|
||||||
|
remove_column :users, :moderator
|
||||||
|
remove_column :users, :supporter
|
||||||
|
remove_column :users, :translator
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue