unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
16 lines • 609 B
JavaScript
;
exports.up = function (db, cb) {
db.runSql(`
CREATE TABLE personal_access_tokens (
secret text not null primary key,
description text,
user_id integer not null references users (id) ON DELETE CASCADE,
expires_at timestamp with time zone NOT NULL,
seen_at timestamp with time zone,
created_at timestamp with time zone not null DEFAULT now()
);`, cb);
};
exports.down = function (db, cb) {
db.runSql(`drop table personal_access_tokens`, cb);
};
//# sourceMappingURL=20220912165344-pat-tokens.js.map