From 5486f04a02dd890cf87d28f01c82a4eb90f73c58 Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Tue, 6 Jun 2023 16:33:24 -0600 Subject: [PATCH] Changing notifications field data type --- schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema.sql b/schema.sql index f288eed..cb60351 100644 --- a/schema.sql +++ b/schema.sql @@ -16,7 +16,7 @@ CREATE TABLE email_notifications ( id SERIAL PRIMARY KEY, email VARCHAR ( 255 ) UNIQUE NOT NULL, count INT NOT NULL DEFAULT 0, - notifications JSON NOT NULL, + notifications JSONB NOT NULL, created_on TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP, updated_on TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP ); -- 2.45.2