Grant ALL PRIVILEGES so Alembic can run DDL migrations

CRUD-only was too restrictive — CREATE TABLE and ALTER TABLE are needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Martin Hohenberg
2026-06-18 21:40:19 +02:00
parent ea1e383cfc
commit 5fb15b36bf

View File

@@ -8,6 +8,6 @@ CREATE DATABASE IF NOT EXISTS pops
CREATE USER IF NOT EXISTS 'pops'@'%'
IDENTIFIED WITH caching_sha2_password BY 'changeme';
GRANT SELECT, INSERT, UPDATE, DELETE ON pops.* TO 'pops'@'%';
GRANT ALL PRIVILEGES ON pops.* TO 'pops'@'%';
FLUSH PRIVILEGES;