timeline wotking, renmed left column

This commit is contained in:
Torsten
2023-06-03 18:09:23 +03:00
parent b8dc0da001
commit 5a5f0585fb
14 changed files with 113 additions and 28 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