When migration table name defined with table schema migrator can't find that table after creation
perfectio opened this issue · 1 comments
perfectio commented
db-migrator --interactive=false --migrationPath="./migrations"
--dsn="${POSTGRES_DSN}" --migrationTable="public.migration" up
2021/04/29 10:16:41 Creating migration history table public.migration...
2021/04/29 10:16:41 SQLSTATE[42P07]: ERROR: relation "migration" already exists
DETAILS:
The SQL being executed was:
CREATE TABLE public.migration (
version varchar(180) PRIMARY KEY,
apply_time integer
)
perfectio commented
I'll fix this