From 9187c2cfef6fab1e209736801edc5df8ef976268 Mon Sep 17 00:00:00 2001 From: Donny Peeters <46660228+Donnype@users.noreply.github.com> Date: Mon, 4 Sep 2023 11:11:52 +0200 Subject: [PATCH] Add raw bytes migrations for v1.11.0 (#1706) --- .../0017_09a2929108d9_add_signing_provider_model.sql | 8 ++++---- ...018_d216ad75177d_add_environment_and_runnable_hash.sql | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 bytes/sql_migrations/0018_d216ad75177d_add_environment_and_runnable_hash.sql diff --git a/bytes/sql_migrations/0017_09a2929108d9_add_signing_provider_model.sql b/bytes/sql_migrations/0017_09a2929108d9_add_signing_provider_model.sql index 1f78a9dc2ec..ebdd6720ab4 100644 --- a/bytes/sql_migrations/0017_09a2929108d9_add_signing_provider_model.sql +++ b/bytes/sql_migrations/0017_09a2929108d9_add_signing_provider_model.sql @@ -1,8 +1,8 @@ CREATE TABLE signing_provider ( - id SERIAL NOT NULL, - url VARCHAR(256) NOT NULL, - PRIMARY KEY (id), - UNIQUE (url) + id SERIAL NOT NULL, + url VARCHAR(256) NOT NULL, + PRIMARY KEY (id), + UNIQUE (url) ); ALTER TABLE raw_file ADD COLUMN signing_provider_id INTEGER; diff --git a/bytes/sql_migrations/0018_d216ad75177d_add_environment_and_runnable_hash.sql b/bytes/sql_migrations/0018_d216ad75177d_add_environment_and_runnable_hash.sql new file mode 100644 index 00000000000..c682b7c5b52 --- /dev/null +++ b/bytes/sql_migrations/0018_d216ad75177d_add_environment_and_runnable_hash.sql @@ -0,0 +1,2 @@ +ALTER TABLE boefje_meta ADD COLUMN environment JSON; +ALTER TABLE boefje_meta ADD COLUMN runnable_hash VARCHAR(64);