PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/outtheboxministry.org/nodejs/models/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/outtheboxministry.org/nodejs/models/wo_movies.js

/* jshint indent: 2 */

module.exports = function(sequelize, DataTypes) {
  return sequelize.define('Wo_Movies', {
    id: {
      autoIncrement: true,
      type: DataTypes.INTEGER,
      allowNull: false,
      primaryKey: true
    },
    name: {
      type: DataTypes.STRING(50),
      allowNull: false,
      defaultValue: ""
    },
    genre: {
      type: DataTypes.STRING(50),
      allowNull: false,
      defaultValue: ""
    },
    stars: {
      type: DataTypes.STRING(300),
      allowNull: false,
      defaultValue: ""
    },
    producer: {
      type: DataTypes.STRING(100),
      allowNull: false,
      defaultValue: ""
    },
    country: {
      type: DataTypes.STRING(50),
      allowNull: false,
      defaultValue: ""
    },
    release: {
      type: "YEAR",
      allowNull: true
    },
    quality: {
      type: DataTypes.STRING(10),
      allowNull: true,
      defaultValue: ""
    },
    duration: {
      type: DataTypes.INTEGER,
      allowNull: false,
      defaultValue: 0
    },
    description: {
      type: DataTypes.TEXT,
      allowNull: true
    },
    cover: {
      type: DataTypes.STRING(500),
      allowNull: false,
      defaultValue: "upload/photos/d-film.jpg"
    },
    source: {
      type: DataTypes.STRING(1000),
      allowNull: false,
      defaultValue: ""
    },
    iframe: {
      type: DataTypes.STRING(1000),
      allowNull: false,
      defaultValue: ""
    },
    video: {
      type: DataTypes.STRING(3000),
      allowNull: false,
      defaultValue: ""
    },
    views: {
      type: DataTypes.INTEGER,
      allowNull: false,
      defaultValue: 0
    },
    rating: {
      type: DataTypes.STRING(11),
      allowNull: false,
      defaultValue: "1"
    }
  }, {
    sequelize,
    tableName: 'Wo_Movies'
  });
};