Skip to content

Commit

Permalink
Add default value to column
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorntonMatthewD committed Nov 19, 2023
1 parent 53b579e commit c1e5c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def create_tables():
week DATE NOT NULL,
message_timestamp TEXT NOT NULL,
message TEXT NOT NULL,
sequence_position INTEGER NOT NULL,
sequence_position INTEGER DEFAULT 0 NOT NULL,
channel_id INTEGER NOT NULL,
CONSTRAINT fk_channel_id
FOREIGN KEY(channel_id) REFERENCES channels(id)
Expand Down

0 comments on commit c1e5c43

Please sign in to comment.