Add PostgreSQL support
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.
This commit is contained in:
15
src/main/resources/database/common/V1_0_1__initData.sql
Normal file
15
src/main/resources/database/common/V1_0_1__initData.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
-- 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);
|
||||
Reference in New Issue
Block a user