diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2016-11-19 17:35:07 -0500 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2016-11-19 17:35:07 -0500 |
| commit | c2c39cc2756230c1de29d8065b8b320f2f084045 (patch) | |
| tree | baf3569f25b0fabeb93144d636bf61a2deae6b4a /schema.sql | |
| download | lastfm-api-c2c39cc2756230c1de29d8065b8b320f2f084045.tar.gz | |
Initial commit
Diffstat (limited to 'schema.sql')
| -rw-r--r-- | schema.sql | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/schema.sql b/schema.sql new file mode 100644 index 0000000..d087f58 --- /dev/null +++ b/schema.sql @@ -0,0 +1,25 @@ +CREATE TABLE users ( + name string PRIMARY KEY, + password string +); + +CREATE TABLE sessions ( + user string, + token string PRIMARY KEY, + client string, + protocol string, + created int +); + +CREATE TABLE scrobbles ( + artist string, + albumartist string, + trackname string, + album string, + tracknumber int, + duration int, + time int, + chosen bool, + mbid string, + session string +); |
