Skip to content

Commit a53446f

Browse files
committed
fix: Drop test table
1 parent 85f9c12 commit a53446f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/encryptindex/functions_test.sql

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
TRUNCATE TABLE eql_v1_configuration;
99

1010
-- Create a table with a plaintext column
11-
-- DROP TABLE IF EXISTS users;
11+
DROP TABLE IF EXISTS users;
1212
CREATE TABLE users
1313
(
1414
id bigint GENERATED ALWAYS AS IDENTITY,
@@ -63,7 +63,7 @@ $$ LANGUAGE plpgsql;
6363
TRUNCATE TABLE eql_v1_configuration;
6464

6565
-- Create a table with multiple plaintext columns
66-
-- DROP TABLE IF EXISTS users;
66+
DROP TABLE IF EXISTS users;
6767
CREATE TABLE users
6868
(
6969
id bigint GENERATED ALWAYS AS IDENTITY,
@@ -119,7 +119,7 @@ $$ LANGUAGE plpgsql;
119119
-- The schema should be validated first.
120120
-- Users table does not exist, so should fail.
121121
-- -----------------------------------------------
122-
-- DROP TABLE IF EXISTS users;
122+
DROP TABLE IF EXISTS users;
123123
TRUNCATE TABLE eql_v1_configuration;
124124

125125

@@ -148,7 +148,7 @@ $$ LANGUAGE plpgsql;
148148
--
149149
-- Schema validation is skipped
150150
-- -----------------------------------------------
151-
-- DROP TABLE IF EXISTS users;
151+
DROP TABLE IF EXISTS users;
152152
TRUNCATE TABLE eql_v1_configuration;
153153

154154
DO $$
@@ -194,7 +194,7 @@ INSERT INTO eql_v1_configuration (state, data) VALUES (
194194
);
195195

196196
-- Create a table with plaintext and encrypted columns
197-
-- DROP TABLE IF EXISTS users;
197+
DROP TABLE IF EXISTS users;
198198
CREATE TABLE users
199199
(
200200
id bigint GENERATED ALWAYS AS IDENTITY,
@@ -244,7 +244,7 @@ INSERT INTO eql_v1_configuration (state, data) VALUES (
244244
);
245245

246246
-- Create a table with plaintext and jsonb column
247-
-- DROP TABLE IF EXISTS users;
247+
DROP TABLE IF EXISTS users;
248248
CREATE TABLE users
249249
(
250250
id bigint GENERATED ALWAYS AS IDENTITY,
@@ -295,7 +295,7 @@ INSERT INTO eql_v1_configuration (state, data) VALUES (
295295

296296

297297
-- Create a table with multiple plaintext columns
298-
-- DROP TABLE IF EXISTS users;
298+
DROP TABLE IF EXISTS users;
299299
CREATE TABLE users
300300
(
301301
id bigint GENERATED ALWAYS AS IDENTITY,

0 commit comments

Comments
 (0)