copy timeline here

This commit is contained in:
2023-06-18 11:23:46 +03:00
parent 818af2f5e9
commit def9e6083d
10 changed files with 126 additions and 10 deletions

View File

@ -0,0 +1,6 @@
class FixColumnName < ActiveRecord::Migration[7.0]
def change
rename_column :members, :left, :leaving
rename_column :members, :arrived, :arriving
end
end

6
db/schema.rb generated
View File

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2023_01_25_172223) do
ActiveRecord::Schema[7.0].define(version: 2023_06_03_150133) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -42,8 +42,8 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_25_172223) do
t.datetime "confirmed_at"
t.datetime "confirmation_sent_at"
t.string "unconfirmed_email"
t.date "arrived"
t.date "left"
t.date "arriving"
t.date "leaving"
t.index ["email"], name: "index_members_on_email", unique: true
t.index ["reset_password_token"], name: "index_members_on_reset_password_token", unique: true
end