diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2017-06-25 18:41:45 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2017-06-25 18:41:45 -0400 |
| commit | 696c3dce5b184ae8c6effec4e7024cf56bf1b1ae (patch) | |
| tree | 2b0765cae87e7594fd18d763408f906a91ee297d /migrations | |
| parent | 0f836c3c0a0ad3addf943282199a73f1e92d9be9 (diff) | |
| download | lastfm-api-696c3dce5b184ae8c6effec4e7024cf56bf1b1ae.tar.gz | |
add tracking of clients
Diffstat (limited to 'migrations')
| -rw-r--r-- | migrations/20170625140530_client.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/migrations/20170625140530_client.sql b/migrations/20170625140530_client.sql new file mode 100644 index 0000000..b872526 --- /dev/null +++ b/migrations/20170625140530_client.sql @@ -0,0 +1,12 @@ + +-- +goose Up +-- SQL in section 'Up' is executed when this migration is applied +CREATE TABLE clients ( + key text PRIMARY KEY, + secret text, + name text +); + +-- +goose Down +-- SQL section 'Down' is executed when this migration is rolled back +DROP TABLE clients; |
