mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 08:25:14 +00:00
Daniel Mason
9866dea36b
- Fix redirects to /login for auth required pages - Add handling for 401/429 + No connection responses in API calls - Add background workers for Go (clear out password resets) - Fixed timezone issues
13 lines
561 B
SQL
13 lines
561 B
SQL
START TRANSACTION;
|
|
|
|
ALTER TABLE `users` ADD COLUMN `spotify_id` VARCHAR(255) DEFAULT '';
|
|
ALTER TABLE `albums` ADD COLUMN `spotify_id` VARCHAR(255) DEFAULT '';
|
|
ALTER TABLE `artists` ADD COLUMN `spotify_id` VARCHAR(255) DEFAULT '';
|
|
ALTER TABLE `tracks` ADD COLUMN `spotify_id` VARCHAR(255) DEFAULT '';
|
|
|
|
ALTER TABLE `users` ADD INDEX `spotifyLookup` (`spotify_id`);
|
|
ALTER TABLE `albums` ADD INDEX `spotifyLookup` (`spotify_id`);
|
|
ALTER TABLE `artists` ADD INDEX `spotifyLookup` (`spotify_id`);
|
|
ALTER TABLE `tracks` ADD INDEX `spotifyLookup` (`spotify_id`);
|
|
|
|
COMMIT; |