drop monthly dues from users (#17515)
* Drop monthly_dues column from users After #17514 there are no uses of this legacy column. * commit schema change after migration
This commit is contained in:
parent
d571231ea4
commit
3b4e266e29
2 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue