Skip to content

Missing semicolon in auto-generated downgrade file. #103

@RoyY1234

Description

@RoyY1234

Semicolon missing in downgrade file, but it's good in upgrade file.
And downgrade command is not working, I think it's the solution.

upgrade file:

CREATE TABLE "public"."tasks" ("id" bigserial NOT NULL, "server_id" bigint NULL, "image_id" bigint NULL, "name" character varying NOT NULL, "note" character varying NULL, "state" integer NULL DEFAULT 1, "template" jsonb NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, PRIMARY KEY ("id"));
CREATE UNIQUE INDEX "tasks_name_index" ON "public"."tasks" ("name");

downgrade file:

DROP INDEX "public"."tasks_name_index"
DROP TABLE "public"."tasks"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions