store; account

This commit is contained in:
Michael Quigley
2022-07-25 16:03:51 -04:00
parent a0a6f49131
commit 629d2fe0dc
3 changed files with 48 additions and 4 deletions
+4 -4
View File
@@ -1,13 +1,13 @@
-- +migrate Up
--
-- credentials
-- accounts
--
create table credentials (
create table accounts (
id integer primary key,
username string not null,
username string not null unique,
password string not null,
token string not null,
token string not null unique,
created_at datetime not null default(strftime('%Y-%m-%d %H:%M:%f', 'now')),
updated_at datetime not null default(strftime('%Y-%m-%d %H:%M:%f', 'now')),