projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
792dbaf
)
Modify video file size to bigint
author
Chocobozzz
<florian.bigard@gmail.com>
Fri, 22 Sep 2017 15:02:31 +0000
(17:02 +0200)
committer
Chocobozzz
<florian.bigard@gmail.com>
Fri, 22 Sep 2017 15:02:31 +0000
(17:02 +0200)
server/models/video/video-file.ts
patch
|
blob
|
history
diff --git
a/server/models/video/video-file.ts
b/server/models/video/video-file.ts
index 09a30d7e0c1b206fb55fe5f15cd3cf2806079ad0..ead7f3e034d43315e2a662523bed24d72a068927 100644
(file)
--- a/
server/models/video/video-file.ts
+++ b/
server/models/video/video-file.ts
@@
-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 => {