diff options
Diffstat (limited to 'migrations/2020-02-01-032552_strava_tokens/up.sql')
-rw-r--r-- | migrations/2020-02-01-032552_strava_tokens/up.sql | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/migrations/2020-02-01-032552_strava_tokens/up.sql b/migrations/2020-02-01-032552_strava_tokens/up.sql new file mode 100644 index 0000000..bf7e9b1 --- /dev/null +++ b/migrations/2020-02-01-032552_strava_tokens/up.sql @@ -0,0 +1,6 @@ +create table strava_tokens ( + username varchar not null primary key references users(username), + refresh_token varchar(64) not null, + access_token varchar(64) not null, + expires_at timestamptz not null +); |