
CREATE TABLE "transaction_recurring" (
	id TEXT NOT NULL UNIQUE PRIMARY KEY,
	user_id TEXT NOT NULL,

	interval_months INTEGER NOT NULL,
	last_execution DATETIME,
	active INTEGER NOT NULL,

	party TEXT,
	description TEXT,

	account_id TEXT,
	treasure_chest_id TEXT,
	value INTEGER NOT NULL,

	created_at DATETIME NOT NULL,
	created_by TEXT NOT NULL,
	updated_at DATETIME,
	updated_by TEXT
) WITHOUT ROWID;
