add archived at to accounts

This commit is contained in:
Pete Matsyburka
2024-04-28 10:27:44 +03:00
parent 1b2dec4c2a
commit bb613059de
6 changed files with 36 additions and 20 deletions
@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddArchivedAtToAccounts < ActiveRecord::Migration[7.1]
def change
add_column :accounts, :archived_at, :datetime
end
end
+2 -1
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.1].define(version: 2024_04_16_170023) do
ActiveRecord::Schema[7.1].define(version: 2024_04_28_072623) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -52,6 +52,7 @@ ActiveRecord::Schema[7.1].define(version: 2024_04_16_170023) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "uuid", null: false
t.datetime "archived_at"
t.index ["uuid"], name: "index_accounts_on_uuid", unique: true
end