UNPKG
mrnodebot
Version:
latest (1.0.15)
next (1.0.11-0)
1.0.15
1.0.11-0
1.0.10
Your Friendly NodeJS IRC Bot
github.com/funsocietyirc/MrNodeBot
funsocietyirc/MrNodeBot
mrnodebot
/
database
/
migrations
/
20161203210324_add_malicious_link_field_to_urls.js
12 lines
(10 loc)
•
283 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
exports
.
up
=
function
(
knex,
Promise
) {
return
knex.
schema
.
table
(
'url'
,
(
table
) =>
{ table.
boolean
(
'threat'
).
nullable
(); }); };
exports
.
down
=
function
(
knex,
Promise
) {
return
knex.
schema
.
table
(
'url'
,
(
table
) =>
{ table.
dropColumn
(
'threat'
); }); };