Adiciona CRUD manual de transações (income/expense) com filtro mensal, CRUD de recorrências fixas com verificação mensal de cobertura (±10% por categoria), endpoint de ignore/unignore e telas Vue para Transações e Configurações. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
11 lines
435 B
SQL
11 lines
435 B
SQL
CREATE TABLE IF NOT EXISTS recurring_ignores (
|
|
id SERIAL PRIMARY KEY,
|
|
recurring_id INTEGER NOT NULL REFERENCES recurring_expenses (id) ON DELETE CASCADE,
|
|
month CHAR(7) NOT NULL, -- YYYY-MM
|
|
reason TEXT,
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
|
|
UNIQUE (recurring_id, month)
|
|
);
|
|
|
|
INSERT INTO schema_migrations (version) VALUES (3) ON CONFLICT DO NOTHING;
|