1 import * as Sequelize from 'sequelize'
3 async function up (utils: {
4 transaction: Sequelize.Transaction
5 queryInterface: Sequelize.QueryInterface
6 sequelize: Sequelize.Sequelize
11 CREATE TABLE IF NOT EXISTS "videoSource" (
13 "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL,
14 "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL,
15 "filename" VARCHAR(255) DEFAULT NULL,
17 REFERENCES "video" ("id")
23 await utils.sequelize.query(query)
27 function down (options) {
28 throw new Error('Not implemented.')