From 82515c6e2aa872ff4f714fdd947256792bd16420 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 30 Mar 2017 14:17:00 +0100 Subject: [PATCH] Add NOT NULL to columns --- .../dendrite/clientapi/storage/output_room_events_table.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/clientapi/storage/output_room_events_table.go b/src/github.com/matrix-org/dendrite/clientapi/storage/output_room_events_table.go index 69f54e55c..60c588e74 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/storage/output_room_events_table.go +++ b/src/github.com/matrix-org/dendrite/clientapi/storage/output_room_events_table.go @@ -19,8 +19,8 @@ CREATE TABLE IF NOT EXISTS output_room_events ( event_json TEXT NOT NULL, -- A list of event IDs which represent a delta of added/removed room state. May be NULL -- if no state has been added/removed. - add_state_ids TEXT[], - remove_state_ids TEXT[] + add_state_ids TEXT[] NOT NULL, + remove_state_ids TEXT[] NOT NULL ); `