mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-04 03:28:44 +00:00
Before this, photos and albums with special characters, would result in a scanner error and would not be imported properly.
10 lines
683 B
SQL
10 lines
683 B
SQL
-- Migrate all tables in database to use utf8 for better language support
|
|
ALTER TABLE access_token CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
ALTER TABLE album CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
ALTER TABLE photo CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
ALTER TABLE photo_exif CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
ALTER TABLE photo_url CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
ALTER TABLE share_token CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
ALTER TABLE site_info CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
ALTER TABLE user CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
|