diff --git a/server b/server index 8d8f1538..2cec55d9 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit 8d8f1538635343768000bbca8e9f08000ad1d008 +Subproject commit 2cec55d9e90ff116ecfa0c9908d15ca5a7fa3be1 diff --git a/web/src/schema/mod.rs b/web/src/schema/mod.rs index ab62c4aa..9bcdd80b 100644 --- a/web/src/schema/mod.rs +++ b/web/src/schema/mod.rs @@ -1229,19 +1229,17 @@ pub(crate) const MAX_TABLE_NAME_LENGTH: usize = MAX_IDENTIFIER_LENGTH - "_fk".len() - crate::system_column::LONGEST_SYSTEM_COLUMN_NAME; -/// The tables the server provisions for a profile itself. A profile gets these -/// when it is created, so a new table may not claim one of their names. +/// Tables whose structure the server owns and provisions when their capability is enabled. /// /// Written down here because the backend does not report them: they are /// constants of three server modules rather than anything the catalog carries. /// A name the server adds to that set is a name this list will not know about /// until it is added here as well. -pub(crate) const RESERVED_TABLE_NAMES: [&str; 5] = [ +pub(crate) const RESERVED_TABLE_NAMES: [&str; 4] = [ "general_ledger", "journal_lines", "quantity_ledger", LEDGER_ACCOUNTS_TABLE, - "custom_exchange_rates", ]; /// The identifier rules, plus the two a table name alone is held to.