Skip to content
Snippets Groups Projects
Commit 9292c600 authored by Diogo Frazão's avatar Diogo Frazão :palm_tree:
Browse files

add schema changes

parent 0946be3e
No related branches found
No related tags found
No related merge requests found
Pipeline #340462522 failed
This commit is part of merge request !66433. Comments created here will be created in the context of that merge request.
......@@ -30,6 +30,7 @@ def down
def swap
add_concurrent_index TABLE_NAME, :build_id_convert_to_bigint, unique: true, name: 'index_ci_builds_runner_session_on_build_id_convert_to_bigint'
# Add a foreign key on `build_id_convert_to_bigint` before we swap the columns and drop the old FK ()
add_concurrent_foreign_key TABLE_NAME, :ci_builds, column: :build_id_convert_to_bigint, on_delete: :cascade, name: 'fk_rails_70707857d3_tmp'
with_lock_retries(raise_on_exhaustion: true) do
......
c006a3924c299426b2e9f9a881d108bc8f13c4f17391cc967e005bc772947f1e
\ No newline at end of file
......@@ -10605,11 +10605,11 @@ ALTER SEQUENCE ci_builds_metadata_id_seq OWNED BY ci_builds_metadata.id;
 
CREATE TABLE ci_builds_runner_session (
id bigint NOT NULL,
build_id integer NOT NULL,
build_id_convert_to_bigint integer DEFAULT 0 NOT NULL,
url character varying NOT NULL,
certificate character varying,
"authorization" character varying,
build_id_convert_to_bigint bigint DEFAULT 0 NOT NULL
build_id bigint NOT NULL
);
 
CREATE SEQUENCE ci_builds_runner_session_id_seq
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment