From 2bf7d29e98b6179a7148d1b1a1effc9f5b1865bb Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sat, 25 Apr 2020 20:51:28 +0100 Subject: [PATCH] Remove unused profile flags / role columns These were made redundant by #67 --- .../20200425194536_remove_unused_profile_flags.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 db/migrate/20200425194536_remove_unused_profile_flags.rb diff --git a/db/migrate/20200425194536_remove_unused_profile_flags.rb b/db/migrate/20200425194536_remove_unused_profile_flags.rb new file mode 100644 index 00000000..8ce20806 --- /dev/null +++ b/db/migrate/20200425194536_remove_unused_profile_flags.rb @@ -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