2021-04-02 09:24:00 +00:00
|
|
|
START TRANSACTION;
|
|
|
|
|
2021-04-03 08:29:31 +00:00
|
|
|
ALTER TABLE `users` ADD COLUMN `spotify_id` VARCHAR(255) NOT NULL DEFAULT '';
|
|
|
|
ALTER TABLE `albums` ADD COLUMN `spotify_id` VARCHAR(255) NOT NULL DEFAULT '';
|
|
|
|
ALTER TABLE `artists` ADD COLUMN `spotify_id` VARCHAR(255) NOT NULL DEFAULT '';
|
|
|
|
ALTER TABLE `tracks` ADD COLUMN `spotify_id` VARCHAR(255) NOT NULL DEFAULT '';
|
2021-04-02 09:24:00 +00:00
|
|
|
|
|
|
|
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;
|