projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Increase abuse length to 3000
[oweals/peertube.git]
/
server
/
initializers
/
migrations
/
0030-video-category.ts
diff --git
a/server/initializers/migrations/0030-video-category.ts
b/server/initializers/migrations/0030-video-category.ts
index 41bc1aa9821e37048015e0b61b6e57aecfe9605e..f784f820da8e09362da2e87f699e8687483f4264 100644
(file)
--- a/
server/initializers/migrations/0030-video-category.ts
+++ b/
server/initializers/migrations/0030-video-category.ts
@@
-1,5
+1,6
@@
import * as Sequelize from 'sequelize'
import * as Promise from 'bluebird'
import * as Sequelize from 'sequelize'
import * as Promise from 'bluebird'
+import { Migration } from '../../models/migrations'
function up (utils: {
transaction: Sequelize.Transaction,
function up (utils: {
transaction: Sequelize.Transaction,
@@
-12,7
+13,7
@@
function up (utils: {
type: Sequelize.INTEGER,
allowNull: false,
defaultValue: 0
type: Sequelize.INTEGER,
allowNull: false,
defaultValue: 0
- }
+ }
as Migration.Integer
return q.addColumn('Videos', 'category', data)
.then(() => {
return q.addColumn('Videos', 'category', data)
.then(() => {