Bootstrap the Application
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
CREATE TABLE accounts (
|
||||
CREATE TABLE IF NOT EXISTS accounts (
|
||||
number integer NOT NULL,
|
||||
name text NOT NULL,
|
||||
qualifiedName text NOT NULL UNIQUE,
|
||||
@@ -7,14 +7,14 @@ CREATE TABLE accounts (
|
||||
type TEXT NOT NULL,
|
||||
);
|
||||
|
||||
CREATE TABLE transactions (
|
||||
CREATE TABLE IF NOT EXISTS transactions (
|
||||
transaction_id integer PRIMARY KEY,
|
||||
postingDate text NOT NULL,
|
||||
valueDate text,
|
||||
title text NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE transaction_entries (
|
||||
CREATE TABLE IF NOT EXISTS transaction_entries (
|
||||
transaction_id int,
|
||||
account_name text NOT NULL,
|
||||
amount float,
|
||||
|
||||
Reference in New Issue
Block a user