photoprism/internal/migrate/mysql/20220329-060000.sql
Michael Mayer 85561547cc Auth: Add "PHOTOPRISM_ADMIN_USER" option and refactor user table #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-02 21:30:50 +02:00

21 lines
No EOL
1.1 KiB
SQL

ALTER TABLE accounts MODIFY acc_url VARCHAR(255);
ALTER TABLE albums MODIFY album_caption VARCHAR(1024);
ALTER TABLE albums MODIFY album_description VARCHAR(2048);
ALTER TABLE albums MODIFY album_notes VARCHAR(1024);
ALTER TABLE cameras MODIFY camera_description VARCHAR(2048);
ALTER TABLE cameras MODIFY camera_notes VARCHAR(1024);
ALTER TABLE countries MODIFY country_description VARCHAR(2048);
ALTER TABLE countries MODIFY country_notes VARCHAR(1024);
ALTER TABLE details MODIFY keywords VARCHAR(2048);
ALTER TABLE details MODIFY notes VARCHAR(2048);
ALTER TABLE details MODIFY subject VARCHAR(1024);
ALTER TABLE details MODIFY artist VARCHAR(1024);
ALTER TABLE details MODIFY copyright VARCHAR(1024);
ALTER TABLE details MODIFY license VARCHAR(1024);
ALTER TABLE folders MODIFY folder_description VARCHAR(2048);
ALTER TABLE labels MODIFY label_description VARCHAR(2048);
ALTER TABLE labels MODIFY label_notes VARCHAR(1024);
ALTER TABLE lenses MODIFY lens_description VARCHAR(2048);
ALTER TABLE lenses MODIFY lens_notes VARCHAR(1024);
ALTER TABLE subjects MODIFY subj_bio VARCHAR(2048);
ALTER TABLE subjects MODIFY subj_notes VARCHAR(1024);