diff --git a/db/migrate/20220429150448_drop_monthly_dues_from_users.rb b/db/migrate/20220429150448_drop_monthly_dues_from_users.rb new file mode 100644 index 000000000..125fd3e8e --- /dev/null +++ b/db/migrate/20220429150448_drop_monthly_dues_from_users.rb @@ -0,0 +1,7 @@ +class DropMonthlyDuesFromUsers < ActiveRecord::Migration[7.0] + def change + safety_assured do + remove_column :users, :monthly_dues, :integer, default: 0 + end + end +end diff --git a/db/schema.rb b/db/schema.rb index d619fbf3c..c6254565d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2022_04_01_071321) do +ActiveRecord::Schema[7.0].define(version: 2022_04_29_150448) do # These are extensions that must be enabled in order to support this database enable_extension "citext" enable_extension "pg_stat_statements" @@ -1242,7 +1242,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_04_01_071321) do t.inet "last_sign_in_ip" t.datetime "latest_article_updated_at", precision: nil t.datetime "locked_at", precision: nil - t.integer "monthly_dues", default: 0 t.string "name" t.string "old_old_username" t.string "old_username"