...

Text file src/github.com/ory/x/popx/stub/migrations/transactional/20200812124254000002_add_session_token.sqlite3.up.sql

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

     1CREATE TABLE "_sessions_tmp" (
     2"id" TEXT PRIMARY KEY,
     3"issued_at" DATETIME NOT NULL DEFAULT 'CURRENT_TIMESTAMP',
     4"expires_at" DATETIME NOT NULL,
     5"authenticated_at" DATETIME NOT NULL,
     6"identity_id" char(36) NOT NULL,
     7"created_at" DATETIME NOT NULL,
     8"updated_at" DATETIME NOT NULL,
     9"token" TEXT,
    10FOREIGN KEY (identity_id) REFERENCES identities (id) ON UPDATE NO ACTION ON DELETE CASCADE
    11)

View as plain text