Files
ubicloud/model/postgres/postgres_lsn_monitor.rb
Jeremy Evans 30247a3800 Include model annotations at the bottom of all model files
This makes it easier for developers new to the codebase to
easily get important information on the model's table in the
same file as the model code.

To ensure the model annotations stay accurate, run them on
test_up/test_down.  In CI, regenerate the annotations, and
check for no changes, similar to how the linters work.
2024-11-13 09:13:30 -08:00

14 lines
353 B
Ruby

# frozen_string_literal: true
require_relative "../../model"
class PostgresLsnMonitor < Sequel::Model(POSTGRES_MONITOR_DB[:postgres_lsn_monitor])
end
# Table: postgres_lsn_monitor
# Columns:
# postgres_server_id | uuid | PRIMARY KEY
# last_known_lsn | pg_lsn |
# Indexes:
# postgres_lsn_monitor_pkey | PRIMARY KEY btree (postgres_server_id)