Changing notifications field data type
1 files changed, 1 insertions(+), 1 deletions(-)

M schema.sql
M schema.sql +1 -1
@@ 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
 );