mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 08:25:14 +00:00
Daniel Mason
48a99b31fd
- Make email required - Add basic navidrome/subsonic connection - Tidy up request/response structure in backend - Tidy Settings page
12 lines
484 B
SQL
12 lines
484 B
SQL
CREATE TABLE IF NOT EXISTS `oauth_tokens` (
|
|
`user` BINARY(16),
|
|
`service` VARCHAR(64) NOT NULL,
|
|
`access_token` VARCHAR(255) NULL DEFAULT '',
|
|
`refresh_token` VARCHAR(255) NULL DEFAULT '',
|
|
`url` VARCHAR(255) NULL DEFAULT '',
|
|
`expiry` DATETIME NOT NULL,
|
|
`username` VARCHAR(100) NULL DEFAULT '',
|
|
`last_synced` DATETIME NOT NULL DEFAULT NOW(),
|
|
PRIMARY KEY `userService` (`user`, `service`)
|
|
) DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci;
|