File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed
kms-connector/connector-db Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 1919fi
2020
2121echo " -------------- Start database initialization --------------"
22- sqlx database drop -y -f || true
2322
2423echo " Creating database..."
2524sqlx database create || { echo " Failed to create database." ; exit 1; }
Original file line number Diff line number Diff line change @@ -13,17 +13,8 @@ DROP TABLE IF EXISTS preprocess_kskgen_requests;
1313-- Updating/creating PrepKeygen tables/triggers --
1414-- ------------------------------------------------------
1515-- Create new ParamsType and KeyType enums
16- DO $$ BEGIN
17- CREATE TYPE params_type AS ENUM (' Default' , ' Test' );
18- EXCEPTION
19- WHEN duplicate_object THEN null ;
20- END $$;
21-
22- DO $$ BEGIN
23- CREATE TYPE key_type AS ENUM (' Server' , ' Public' );
24- EXCEPTION
25- WHEN duplicate_object THEN null ;
26- END $$;
16+ CREATE TYPE params_type AS ENUM (' Default' , ' Test' );
17+ CREATE TYPE key_type AS ENUM (' Server' , ' Public' );
2718
2819CREATE TABLE IF NOT EXISTS prep_keygen_requests (
2920 prep_keygen_id BYTEA NOT NULL ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ PROJECT="fhevm"
1717# Default versions for the fhevm stack.
1818
1919# KMS connector services.
20- export CONNECTOR_DB_MIGRATION_VERSION=${CONNECTOR_DB_MIGRATION_VERSION:- " cbb9fee " }
20+ export CONNECTOR_DB_MIGRATION_VERSION=${CONNECTOR_DB_MIGRATION_VERSION:- " bcb5d6d " }
2121export CONNECTOR_GW_LISTENER_VERSION=${CONNECTOR_GW_LISTENER_VERSION:- " v0.9.9" }
2222export CONNECTOR_KMS_WORKER_VERSION=${CONNECTOR_KMS_WORKER_VERSION:- " v0.9.9" }
2323export CONNECTOR_TX_SENDER_VERSION=${CONNECTOR_TX_SENDER_VERSION:- " v0.9.9" }
You can’t perform that action at this time.
0 commit comments