photoprism/scripts/sql/reset-photoprism.sql

4 lines
97 B
SQL

DROP DATABASE IF EXISTS photoprism;
CREATE DATABASE IF NOT EXISTS photoprism;
FLUSH PRIVILEGES;