...

Text file src/github.com/ory/x/popx/stub/migrations/legacy/20191100000007_errors.sqlite3.down.sql

Documentation: github.com/ory/x/popx/stub/migrations/legacy

     1CREATE TABLE "_selfservice_errors_tmp" (
     2"id" TEXT PRIMARY KEY,
     3"errors" TEXT NOT NULL,
     4"seen_at" DATETIME,
     5"was_seen" bool NOT NULL,
     6"created_at" DATETIME NOT NULL,
     7"updated_at" DATETIME NOT NULL
     8);
     9INSERT INTO "_selfservice_errors_tmp" (id, errors, seen_at, was_seen, created_at, updated_at) SELECT id, errors, seen_at, was_seen, created_at, updated_at FROM "selfservice_errors";
    10
    11DROP TABLE "selfservice_errors";
    12ALTER TABLE "_selfservice_errors_tmp" RENAME TO "selfservice_errors";

View as plain text