diff --git a/golem-component-service/db/migration/postgres/007__add_object_store_key.sql b/golem-component-service/db/migration/postgres/007__add_object_store_key.sql index f67cdc50b..cfe02467e 100644 --- a/golem-component-service/db/migration/postgres/007__add_object_store_key.sql +++ b/golem-component-service/db/migration/postgres/007__add_object_store_key.sql @@ -1,2 +1,2 @@ ALTER TABLE component_versions - ADD COLUMN IF NOT EXISTS object_store_key text; + ADD COLUMN IF NOT EXISTS object_store_key text NOT NULL default 'default_value'; \ No newline at end of file diff --git a/golem-component-service/db/migration/postgres/008__add_transformed_object_store_key.sql b/golem-component-service/db/migration/postgres/008__add_transformed_object_store_key.sql index ebc72a384..5f7d73d97 100644 --- a/golem-component-service/db/migration/postgres/008__add_transformed_object_store_key.sql +++ b/golem-component-service/db/migration/postgres/008__add_transformed_object_store_key.sql @@ -1,2 +1,2 @@ ALTER TABLE component_versions - ADD COLUMN IF NOT EXISTS transformed_object_store_key text; + ADD COLUMN IF NOT EXISTS transformed_object_store_key text NOT NULL default 'default_value';;