UNPKG
open-music-api-node
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.0
Open Music API
github.com/Widiskel/backend-node-music-api
Widiskel/backend-node-music-api
open-music-api-node
/
migrations
/
1687081993125_create-table-authentications.js
17 lines
(13 loc)
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* eslint-disable camelcase */
exports
.
shorthands
=
undefined
;
exports
.
up
=
(
pgm
) =>
{ pgm.
createTable
(
'authentications'
, {
token
: {
type
:
'TEXT'
,
notNull
:
true
, }, }); };
exports
.
down
=
(
pgm
) =>
{ pgm.
dropTable
(
'authentications'
); };