language
stringlengths 0
24
| filename
stringlengths 9
214
| code
stringlengths 99
9.93M
|
---|---|---|
SQL | hydra/persistence/sql/migrations/20220210000001000053_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE INDEX hydra_oauth2_oidc_client_id_idx ON hydra_oauth2_oidc (client_id ASC, nid ASC);
CREATE INDEX hydra_oauth2_oidc_challenge_id_idx ON hydra_oauth2_oidc (challenge_id ASC);
CREATE INDEX hydra_oauth2_oidc_request_id_idx ON hydra_oauth2_oidc (request_id ASC, nid ASC); |
SQL | hydra/persistence/sql/migrations/20220210000001000053_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000054_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
UPDATE hydra_oauth2_pkce SET nid = (SELECT id FROM networks LIMIT 1); |
SQL | hydra/persistence/sql/migrations/20220210000001000054_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000054_nid.mysql.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_trusted_jwt_bearer_issuer DROP FOREIGN KEY `hydra_oauth2_trusted_jwt_bearer_issuer_ibfk_1`;
ALTER TABLE hydra_oauth2_trusted_jwt_bearer_issuer ADD CONSTRAINT `hydra_oauth2_trusted_jwt_bearer_issuer_ibfk_1` FOREIGN KEY (`key_set`, `key_id`, `nid`) REFERENCES `hydra_jwk` (`sid`, `kid`, `nid`) ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000054_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
-- hydra_oauth2_pkce
ALTER TABLE hydra_oauth2_pkce ADD COLUMN "nid" UUID;
ALTER TABLE hydra_oauth2_pkce ADD CONSTRAINT hydra_oauth2_pkce_nid_fk_idx FOREIGN KEY ("nid") REFERENCES "networks" ("id") ON UPDATE RESTRICT ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000054_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000055_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_pkce ALTER nid SET NOT NULL; |
SQL | hydra/persistence/sql/migrations/20220210000001000055_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000055_nid.mysql.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
DROP INDEX issuer ON hydra_oauth2_trusted_jwt_bearer_issuer;
DROP INDEX hydra_oauth2_trusted_jwt_bearer_issuer_expires_at_idx ON hydra_oauth2_trusted_jwt_bearer_issuer; |
SQL | hydra/persistence/sql/migrations/20220210000001000055_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
UPDATE hydra_oauth2_pkce SET nid = (SELECT id FROM networks LIMIT 1); |
SQL | hydra/persistence/sql/migrations/20220210000001000055_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000056_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_pkce ADD CONSTRAINT hydra_oauth2_pkce_client_id_fk FOREIGN KEY (client_id, nid) REFERENCES hydra_client(id, nid) ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000056_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000056_nid.mysql.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE UNIQUE INDEX issuer ON hydra_oauth2_trusted_jwt_bearer_issuer (issuer, subject, key_id, nid);
CREATE INDEX hydra_oauth2_trusted_jwt_bearer_issuer_expires_at_idx ON hydra_oauth2_trusted_jwt_bearer_issuer (expires_at ASC);
CREATE INDEX hydra_oauth2_trusted_jwt_bearer_issuer_nid_idx ON hydra_oauth2_trusted_jwt_bearer_issuer (id, nid); |
SQL | hydra/persistence/sql/migrations/20220210000001000056_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_pkce ALTER nid SET NOT NULL; |
SQL | hydra/persistence/sql/migrations/20220210000001000056_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000057_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
DROP INDEX hydra_oauth2_pkce_client_id_idx;
DROP INDEX hydra_oauth2_pkce_challenge_id_idx;
DROP INDEX hydra_oauth2_pkce_request_id_idx; |
SQL | hydra/persistence/sql/migrations/20220210000001000057_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000057_nid.mysql.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
DROP INDEX hydra_jwk_idx_id_uq ON hydra_jwk;
DROP INDEX hydra_client_idx_id_uq ON hydra_client;
DROP INDEX hydra_oauth2_access_client_id_subject_idx ON hydra_oauth2_access;
-- DROP INDEX hydra_oauth2_authentication_session_subject_idx ON hydra_oauth2_authentication_session;
DROP INDEX hydra_oauth2_flow_cid_idx ON hydra_oauth2_flow;
DROP INDEX hydra_oauth2_obfuscated_authentication_session_so_idx ON hydra_oauth2_obfuscated_authentication_session;
DROP INDEX hydra_oauth2_logout_request_client_id_idx ON hydra_oauth2_logout_request;
DROP INDEX hydra_oauth2_code_client_id_idx ON hydra_oauth2_code;
DROP INDEX hydra_oauth2_access_client_id_idx ON hydra_oauth2_access; |
SQL | hydra/persistence/sql/migrations/20220210000001000057_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_pkce ADD CONSTRAINT hydra_oauth2_pkce_client_id_fk FOREIGN KEY (client_id, nid) REFERENCES hydra_client(id, nid) ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000057_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000058_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE INDEX hydra_oauth2_pkce_client_id_idx ON hydra_oauth2_pkce (client_id ASC, nid ASC);
CREATE INDEX hydra_oauth2_pkce_challenge_id_idx ON hydra_oauth2_pkce (challenge_id ASC);
CREATE INDEX hydra_oauth2_pkce_request_id_idx ON hydra_oauth2_pkce (request_id ASC, nid ASC); |
SQL | hydra/persistence/sql/migrations/20220210000001000058_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000058_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000058_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
DROP INDEX hydra_oauth2_pkce_client_id_idx;
DROP INDEX hydra_oauth2_pkce_challenge_id_idx;
DROP INDEX hydra_oauth2_pkce_request_id_idx; |
SQL | hydra/persistence/sql/migrations/20220210000001000058_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000059_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
-- hydra_oauth2_refresh
ALTER TABLE hydra_oauth2_refresh ADD COLUMN "nid" UUID;
ALTER TABLE hydra_oauth2_refresh ADD CONSTRAINT hydra_oauth2_refresh_nid_fk_idx FOREIGN KEY ("nid") REFERENCES "networks" ("id") ON UPDATE RESTRICT ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000059_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000059_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000059_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE INDEX hydra_oauth2_pkce_client_id_idx ON hydra_oauth2_pkce (client_id ASC, nid ASC);
CREATE INDEX hydra_oauth2_pkce_challenge_id_idx ON hydra_oauth2_pkce (challenge_id ASC);
CREATE INDEX hydra_oauth2_pkce_request_id_idx ON hydra_oauth2_pkce (request_id ASC, nid ASC); |
SQL | hydra/persistence/sql/migrations/20220210000001000059_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000060_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
UPDATE hydra_oauth2_refresh SET nid = (SELECT id FROM networks LIMIT 1); |
SQL | hydra/persistence/sql/migrations/20220210000001000060_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000060_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000060_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
-- hydra_oauth2_refresh
ALTER TABLE hydra_oauth2_refresh ADD COLUMN "nid" UUID;
ALTER TABLE hydra_oauth2_refresh ADD CONSTRAINT hydra_oauth2_refresh_nid_fk_idx FOREIGN KEY ("nid") REFERENCES "networks" ("id") ON UPDATE RESTRICT ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000060_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000061_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_refresh ALTER nid SET NOT NULL; |
SQL | hydra/persistence/sql/migrations/20220210000001000061_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000061_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000061_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
UPDATE hydra_oauth2_refresh SET nid = (SELECT id FROM networks LIMIT 1); |
SQL | hydra/persistence/sql/migrations/20220210000001000061_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000062_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_refresh ADD CONSTRAINT hydra_oauth2_refresh_client_id_fk FOREIGN KEY (client_id, nid) REFERENCES hydra_client(id, nid) ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000062_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000062_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000062_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_refresh ALTER nid SET NOT NULL; |
SQL | hydra/persistence/sql/migrations/20220210000001000062_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000063_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
DROP INDEX hydra_oauth2_refresh_client_id_idx;
DROP INDEX hydra_oauth2_refresh_challenge_id_idx;
DROP INDEX hydra_oauth2_refresh_client_id_subject_idx;
DROP INDEX hydra_oauth2_refresh_request_id_idx; |
SQL | hydra/persistence/sql/migrations/20220210000001000063_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000063_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000063_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_refresh ADD CONSTRAINT hydra_oauth2_refresh_client_id_fk FOREIGN KEY (client_id, nid) REFERENCES hydra_client(id, nid) ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000063_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000064_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE INDEX hydra_oauth2_refresh_client_id_idx ON hydra_oauth2_refresh (client_id ASC, nid ASC);
CREATE INDEX hydra_oauth2_refresh_challenge_id_idx ON hydra_oauth2_refresh (challenge_id ASC);
CREATE INDEX hydra_oauth2_refresh_client_id_subject_idx ON hydra_oauth2_refresh (client_id ASC, subject ASC);
CREATE INDEX hydra_oauth2_refresh_request_id_idx ON hydra_oauth2_refresh (request_id ASC); |
SQL | hydra/persistence/sql/migrations/20220210000001000064_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000064_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000064_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
DROP INDEX hydra_oauth2_refresh_client_id_idx;
DROP INDEX hydra_oauth2_refresh_challenge_id_idx;
DROP INDEX hydra_oauth2_refresh_client_id_subject_idx;
DROP INDEX hydra_oauth2_refresh_request_id_idx; |
SQL | hydra/persistence/sql/migrations/20220210000001000064_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000065_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
-- hydra_jwk
ALTER TABLE hydra_jwk ADD COLUMN "nid" UUID;
ALTER TABLE hydra_jwk ADD CONSTRAINT hydra_jwk_nid_fk_idx FOREIGN KEY ("nid") REFERENCES "networks" ("id") ON UPDATE RESTRICT ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000065_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000065_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000065_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE INDEX hydra_oauth2_refresh_client_id_idx ON hydra_oauth2_refresh (client_id ASC, nid ASC);
CREATE INDEX hydra_oauth2_refresh_challenge_id_idx ON hydra_oauth2_refresh (challenge_id ASC);
CREATE INDEX hydra_oauth2_refresh_client_id_subject_idx ON hydra_oauth2_refresh (client_id ASC, subject ASC);
CREATE INDEX hydra_oauth2_refresh_request_id_idx ON hydra_oauth2_refresh (request_id ASC); |
SQL | hydra/persistence/sql/migrations/20220210000001000065_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000066_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
UPDATE hydra_jwk SET nid = (SELECT id FROM networks LIMIT 1); |
SQL | hydra/persistence/sql/migrations/20220210000001000066_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000066_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000066_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
-- hydra_jwk
ALTER TABLE hydra_jwk ADD COLUMN "nid" UUID;
ALTER TABLE hydra_jwk ADD CONSTRAINT hydra_jwk_nid_fk_idx FOREIGN KEY ("nid") REFERENCES "networks" ("id") ON UPDATE RESTRICT ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000066_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000067_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_jwk ALTER nid SET NOT NULL; |
SQL | hydra/persistence/sql/migrations/20220210000001000067_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000067_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000067_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
UPDATE hydra_jwk SET nid = (SELECT id FROM networks LIMIT 1); |
SQL | hydra/persistence/sql/migrations/20220210000001000067_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000068_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
DROP INDEX hydra_jwk_sid_kid_key CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000068_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000068_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000068_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_jwk ALTER nid SET NOT NULL; |
SQL | hydra/persistence/sql/migrations/20220210000001000068_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000069_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE UNIQUE INDEX hydra_jwk_sid_kid_nid_key ON hydra_jwk (sid ASC, kid ASC, nid ASC); |
SQL | hydra/persistence/sql/migrations/20220210000001000069_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000069_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000069_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE UNIQUE INDEX hydra_jwk_sid_kid_nid_key ON hydra_jwk (sid ASC, kid ASC, nid ASC); |
SQL | hydra/persistence/sql/migrations/20220210000001000069_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000070_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
-- hydra_oauth2_trusted_jwt_bearer_issuer
ALTER TABLE hydra_oauth2_trusted_jwt_bearer_issuer ADD COLUMN "nid" UUID; |
SQL | hydra/persistence/sql/migrations/20220210000001000070_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000070_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000070_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
-- hydra_oauth2_trusted_jwt_bearer_issuer
ALTER TABLE hydra_oauth2_trusted_jwt_bearer_issuer ADD COLUMN "nid" UUID; |
SQL | hydra/persistence/sql/migrations/20220210000001000070_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000071_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_trusted_jwt_bearer_issuer ADD CONSTRAINT hydra_oauth2_trusted_jwt_bearer_issuer_nid_fk_idx FOREIGN KEY ("nid") REFERENCES "networks" ("id") ON UPDATE RESTRICT ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000071_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000071_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000071_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_trusted_jwt_bearer_issuer ADD CONSTRAINT hydra_oauth2_trusted_jwt_bearer_issuer_nid_fk_idx FOREIGN KEY ("nid") REFERENCES "networks" ("id") ON UPDATE RESTRICT ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000071_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000072_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_trusted_jwt_bearer_issuer ADD CONSTRAINT fk_key_set_ref_hydra_jwk FOREIGN KEY (key_set, key_id, nid) REFERENCES hydra_jwk(sid, kid, nid) ON DELETE CASCADE; |
SQL | hydra/persistence/sql/migrations/20220210000001000072_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000072_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000072_nid.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
ALTER TABLE hydra_oauth2_trusted_jwt_bearer_issuer DROP CONSTRAINT hydra_oauth2_trusted_jwt_bearer_issue_issuer_subject_key_id_key; |
SQL | hydra/persistence/sql/migrations/20220210000001000072_nid.sqlite.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000073_nid.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
UPDATE hydra_oauth2_trusted_jwt_bearer_issuer SET nid = (SELECT id FROM networks LIMIT 1); |
SQL | hydra/persistence/sql/migrations/20220210000001000073_nid.down.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
SQL | hydra/persistence/sql/migrations/20220210000001000073_nid.mysql.up.sql | -- This blank migration was generated to meet ory/x/popx validation criteria, see https://github.com/ory/x/pull/509; DO NOT EDIT.
-- hydra:generate hydra migrate gen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.