Skip to content

Commit

Permalink
Update src/migrations/20231212094044-event-created-by-user-id.js
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Kolstad <[email protected]>
  • Loading branch information
daveleek and Christopher Kolstad authored Dec 12, 2023
1 parent c202573 commit 3e85dfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/migrations/20231212094044-event-created-by-user-id.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports.up = function (db, callback) {
db.runSql(
`
ALTER TABLE events ADD COLUMN IF NOT EXISTS created_by_user_id INTEGER;
CREATE INDEX events_created_by_user_id_idx ON events(created_by_user_id);
`,
callback,
);
Expand Down

0 comments on commit 3e85dfc

Please sign in to comment.