Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyharrington committed May 21, 2020
1 parent 2fd423b commit cad1d88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dbCreateStatements-Postgres.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ CREATE TABLE IF NOT EXISTS users (
username TEXT NOT NULL,
hash TEXT NOT NULL,
income REAL NOT NULL DEFAULT 60000.00,
registerDate TEXT NOT NULL,
lastLogin TEXT NOT NULL
registerdate TEXT NOT NULL,
lastlogin TEXT NOT NULL
);

CREATE TABLE IF NOT EXISTS budgets (
Expand Down Expand Up @@ -57,10 +57,10 @@ CREATE TABLE IF NOT EXISTS expenses (
id serial PRIMARY KEY,
description TEXT NOT NULL,
category TEXT NOT NULL,
expenseDate TEXT NOT NULL,
expensedate TEXT NOT NULL,
amount REAL NOT NULL,
payer TEXT NOT NULL,
submitTime TEXT NOT NULL,
submittime TEXT NOT NULL,
user_id INTEGER,
CONSTRAINT budgets_user_id_fkey FOREIGN KEY (user_id)
REFERENCES users (id) MATCH SIMPLE
Expand Down

0 comments on commit cad1d88

Please sign in to comment.