We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 824a68a commit e8e4ce7Copy full SHA for e8e4ce7
src/main/resources/db/migration/V1__Create_tables_User_and_Station.sql
@@ -1,9 +1,9 @@
1
CREATE TABLE users (
2
- id SERIAL PRIMARY KEY,
3
- email VARCHAR(50) NOT NULL,
4
- password VARCHAR(200) NOT NULL,
5
- status VARCHAR(20) NOT NULL,
6
- created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
+ id VARCHAR(40) PRIMARY KEY,
+ email VARCHAR(50) NOT NULL,
+ password VARCHAR(200) NOT NULL,
+ status VARCHAR(20) NOT NULL,
+ created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
7
);
8
9
CREATE TABLE station (
0 commit comments