Skip to content
Snippets Groups Projects
Unverified Commit b85cfc7c authored by chris48s's avatar chris48s Committed by GitHub
Browse files

add created timestamp to tokens table (#10573)

parent b8abface
Branches
No related tags found
No related merge requests found
exports.shorthands = undefined
exports.up = pgm => {
pgm.addColumn('github_user_tokens', {
created: {
type: 'TIMESTAMP',
notNull: true,
default: pgm.func('CURRENT_TIMESTAMP'),
},
})
}
exports.down = pgm => {
pgm.dropColumn('github_user_tokens', 'created')
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment