Add sync status and errors to account settings page (#1169)

This commit is contained in:
Zach Gollwitzer
2024-09-11 17:24:01 -04:00
committed by GitHub
parent 86741401c3
commit b9341ac302
13 changed files with 124 additions and 38 deletions

View File

@@ -0,0 +1,5 @@
class AddLastSyncedAtInstitution < ActiveRecord::Migration[7.2]
def change
add_column :institutions, :last_synced_at, :datetime
end
end

3
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.2].define(version: 2024_08_23_125526) do
ActiveRecord::Schema[7.2].define(version: 2024_09_11_143158) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
enable_extension "plpgsql"
@@ -318,6 +318,7 @@ ActiveRecord::Schema[7.2].define(version: 2024_08_23_125526) do
t.uuid "family_id", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.datetime "last_synced_at"
t.index ["family_id"], name: "index_institutions_on_family_id"
end