Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
GaoYanChao committed Jul 1, 2018
1 parent fc6ae9e commit c370a1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ CREATE TABLE IF NOT EXISTS account (
username VARCHAR(10) NOT NULL,
password VARCHAR(100) NOT NULL,
coin INT default 4000,
created_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP
created_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
);

CREATE TABLE IF NOT EXISTS record (
Expand Down

0 comments on commit c370a1d

Please sign in to comment.