Skip to content

Commit

Permalink
chore: remove pre-delete of -1337 user in up migration
Browse files Browse the repository at this point in the history
  • Loading branch information
daveleek committed Dec 12, 2023
1 parent 013b0d6 commit a1e2733
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/migrations/20231212094343-unleash-system-user.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ exports.up = function (db, callback) {
db.runSql(
`
ALTER TABLE users ADD COLUMN IF NOT EXISTS is_system BOOLEAN NOT NULL DEFAULT FALSE;
DELETE FROM users WHERE id = -1337;
INSERT INTO users
(id, name, username, email, created_by, is_system)
VALUES
Expand Down

0 comments on commit a1e2733

Please sign in to comment.