123456789101112131415161718192021 |
- "use strict";
- exports.__esModule = true;
- var db_1 = require("../db");
- var sequelize_1 = require("sequelize");
- var Channel = db_1["default"].define('channel', {
- id: {
- type: sequelize_1.DataTypes.INTEGER,
- primaryKey: true
- },
- createdAt: sequelize_1.DataTypes.INTEGER,
- handle: sequelize_1.DataTypes.STRING,
- title: sequelize_1.DataTypes.STRING,
- description: sequelize_1.DataTypes.TEXT,
- avatar: sequelize_1.DataTypes.TEXT,
- banner: sequelize_1.DataTypes.TEXT,
- content: sequelize_1.DataTypes.STRING,
- curation: sequelize_1.DataTypes.STRING,
- principal: sequelize_1.DataTypes.INTEGER,
- publicationStatus: sequelize_1.DataTypes.BOOLEAN
- });
- exports["default"] = Channel;
|