Add NOT NULL to columns

This commit is contained in:
Kegan Dougal 2017-03-30 14:17:00 +01:00
parent f480c32038
commit 82515c6e2a

View file

@ -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
);
`