Therefore add migration scripts and default connection settings. Also add a draft chapter in the documentation about how to setup the database . Make HSQLDB the default for integration tests.
15 lines
552 B
SQL
15 lines
552 B
SQL
-- Accounts
|
|
INSERT INTO account ("key", type, status, current_balance)
|
|
VALUES ('accounts.checkaccount', 'BANK', 'OPEN', 0);
|
|
|
|
INSERT INTO account ("key", type, status, current_balance)
|
|
VALUES ('accounts.income', 'INCOME', 'OPEN', 0);
|
|
|
|
INSERT INTO account ("key", type, status, current_balance)
|
|
VALUES ('accounts.cash', 'CASH', 'OPEN', 0);
|
|
|
|
INSERT INTO account ("key", type, status, current_balance)
|
|
VALUES ('accounts.start', 'START', 'OPEN', 0);
|
|
|
|
INSERT INTO account ("key", type, status, current_balance)
|
|
VALUES ('accounts.rent', 'EXPENSE', 'OPEN', 0); |