u
This commit is contained in:
@@ -1058,8 +1058,17 @@ CREATE TABLE IF NOT EXISTS subagentschedule (
|
||||
CREATE INDEX IF NOT EXISTS IX_subagentschedule_company ON subagentschedule (company_id);
|
||||
`;
|
||||
|
||||
export const INIT_HEALTHCHECK = `
|
||||
CREATE TABLE IF NOT EXISTS healthcheck (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
"sequence" INTEGER NOT NULL DEFAULT 0,
|
||||
updated_at TEXT NOT NULL DEFAULT (${UTC_NOW})
|
||||
);
|
||||
`;
|
||||
|
||||
/** DDL scripts in dependency order for SQLite schema initialization. */
|
||||
export const SCHEMA_SCRIPTS = [
|
||||
INIT_HEALTHCHECK,
|
||||
INIT_META,
|
||||
INIT_LANGUAGE,
|
||||
INIT_TAX,
|
||||
|
||||
Reference in New Issue
Block a user