Modify video file size to bigint
authorChocobozzz <florian.bigard@gmail.com>
Fri, 22 Sep 2017 15:02:31 +0000 (17:02 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 22 Sep 2017 15:02:31 +0000 (17:02 +0200)
server/models/video/video-file.ts

index 09a30d7e0c1b206fb55fe5f15cd3cf2806079ad0..ead7f3e034d43315e2a662523bed24d72a068927 100644 (file)
@@ -30,7 +30,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da
         }
       },
       size: {
-        type: DataTypes.INTEGER,
+        type: DataTypes.BIGINT,
         allowNull: false,
         validate: {
           sizeValid: value => {