mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
6 lines
204 B
SQL
Executable file
6 lines
204 B
SQL
Executable file
DROP DATABASE IF EXISTS migrate;
|
|
CREATE DATABASE IF NOT EXISTS migrate;
|
|
CREATE USER IF NOT EXISTS migrate@'%' IDENTIFIED BY 'migrate';
|
|
GRANT ALL PRIVILEGES ON migrate.* TO migrate@'%';
|
|
|
|
FLUSH PRIVILEGES;
|