2186b923c9
# Conflicts: # docker-compose.mariadb.yml # docker-compose.yml # frontend/src/component/navigation.vue # frontend/src/pages/albums.vue # frontend/tests/acceptance/settings/general.js # go.mod # go.sum # internal/commands/users.go # internal/config/flags.go # internal/config/options.go # internal/entity/user.go # scripts/build.sh # scripts/docker/arch.sh # scripts/sql/init-test-databases.sql
9 lines
301 B
SQL
Executable file
9 lines
301 B
SQL
Executable file
DROP DATABASE IF EXISTS photoprism;
|
|
CREATE DATABASE IF NOT EXISTS photoprism;
|
|
|
|
DROP DATABASE IF EXISTS acceptance;
|
|
CREATE DATABASE IF NOT EXISTS acceptance;
|
|
CREATE USER IF NOT EXISTS acceptance@'%' IDENTIFIED BY 'acceptance';
|
|
GRANT ALL PRIVILEGES ON acceptance.* TO acceptance@'%';
|
|
|
|
FLUSH PRIVILEGES;
|