summaryrefslogtreecommitdiff
path: root/src/main/resources/db/migration/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/db/migration/postgresql')
-rw-r--r--src/main/resources/db/migration/postgresql/V0_2_0__Tokens.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/resources/db/migration/postgresql/V0_2_0__Tokens.sql b/src/main/resources/db/migration/postgresql/V0_2_0__Tokens.sql
new file mode 100644
index 0000000..c89c52e
--- /dev/null
+++ b/src/main/resources/db/migration/postgresql/V0_2_0__Tokens.sql
@@ -0,0 +1,9 @@
+CREATE TABLE IF NOT EXISTS token
+(
+ id serial,
+ name varchar(255) not null,
+ username varchar(255) not null unique,
+ password varchar(255) not null,
+ created_at timestamp with time zone default now() not null,
+ PRIMARY KEY (id)
+); \ No newline at end of file