Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 34 additions & 6 deletions database/.pgschemaignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,37 @@
# Objects to exclude from pgschema management
# See https://www.pgschema.com/cli/ignore
#
# Example:
# [tables]
# patterns = ["temp_*", "test_*"]
#
# [views]
# patterns = ["debug_*"]
# These tables exist in production memory databases but are NOT defined in
# schema.sql. They were created dynamically or as domain extensions.
# Without this ignore list, pgschema plan will propose DROP TABLE for all
# of them — destroying live data.

[tables]
patterns = [
# --- Common tables (nova_memory + victoria_memory, not in schema.sql) ---
"blockers",
"d100_roll_log",
"proactive_outreach",
"social_interactions",
"user_domains",

# --- nova_memory only ---
"agent_model_denylists",

# --- victoria_memory trading-desk domain tables ---
# Victoria's chess-themed trading pipeline book of record.
# Dropping these destroys her entire trading operation state.
"asset_classes",
"cash_ledger",
"instruments",
"open_orders",
"order_adjustments",
"portfolio_asset_classes",
"portfolio_snapshots",
"portfolios",
"positions",
"price_cache_v2",
"strategies",
"strategy_notes",
"trades"
]
40 changes: 34 additions & 6 deletions memory/.pgschemaignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,37 @@
# Objects to exclude from pgschema management
# See https://www.pgschema.com/cli/ignore
#
# Example:
# [tables]
# patterns = ["temp_*", "test_*"]
#
# [views]
# patterns = ["debug_*"]
# These tables exist in production memory databases but are NOT defined in
# schema.sql. They were created dynamically or as domain extensions.
# Without this ignore list, pgschema plan will propose DROP TABLE for all
# of them — destroying live data.

[tables]
patterns = [
# --- Common tables (nova_memory + victoria_memory, not in schema.sql) ---
"blockers",
"d100_roll_log",
"proactive_outreach",
"social_interactions",
"user_domains",

# --- nova_memory only ---
"agent_model_denylists",

# --- victoria_memory trading-desk domain tables ---
# Victoria's chess-themed trading pipeline book of record.
# Dropping these destroys her entire trading operation state.
"asset_classes",
"cash_ledger",
"instruments",
"open_orders",
"order_adjustments",
"portfolio_asset_classes",
"portfolio_snapshots",
"portfolios",
"positions",
"price_cache_v2",
"strategies",
"strategy_notes",
"trades"
]
Loading