Skip to content

Commit 27f9da6

Browse files
Stop setting name field for inferred migrations (#854)
The name field is no longer supported as of #852. Follow up to #852.
1 parent 4e909cf commit 27f9da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/state/init.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ BEGIN
383383
SELECT
384384
INTO migration_id pg_catalog.format('sql_%s', pg_catalog.substr(pg_catalog.md5(pg_catalog.random()::text), 0, 15));
385385
INSERT INTO placeholder.migrations (schema, name, migration, resulting_schema, done, parent, migration_type, created_at, updated_at)
386-
VALUES (schemaname, migration_id, pg_catalog.json_build_object('name', migration_id, 'operations', (
386+
VALUES (schemaname, migration_id, pg_catalog.json_build_object('operations', (
387387
SELECT
388388
pg_catalog.json_agg(pg_catalog.json_build_object('sql', pg_catalog.json_build_object('up', pg_catalog.current_query()))))),
389389
placeholder.read_schema (schemaname),

0 commit comments

Comments
 (0)