mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
28fbcf69ec
https://linear.app/unleash/issue/2-537/back-end-for-service-accounts Supersedes https://github.com/Unleash/unleash/pull/2731
20 lines
344 B
JavaScript
20 lines
344 B
JavaScript
exports.up = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER table users
|
|
ADD COLUMN IF NOT EXISTS is_service boolean DEFAULT false
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER table users
|
|
DROP COLUMN is_service
|
|
`,
|
|
cb,
|
|
);
|
|
};
|