Merge branch 'dev' into 'dev'

Adjust all integer column types to bigint

See merge request Shinobi-Systems/Shinobi!458
cycling-live-grid
Moe 2023-03-17 15:39:14 +00:00
commit 21cd956925
1 changed files with 5 additions and 5 deletions

View File

@ -46,7 +46,7 @@ module.exports = function(s,config){
{name: 'ke', length: 50, type: 'string'},
{name: 'mid', length: 100, type: 'string'},
{name: 'name', length: 100, type: 'string'},
{name: 'size', type: 'integer'},
{name: 'size', type: 'bigint'},
{name: 'details', type: 'text'},
{name: 'status', type: 'integer', length: 1, defaultTo: 0},
{name: 'archive', type: 'tinyint', length: 1, defaultTo: 0},
@ -58,7 +58,7 @@ module.exports = function(s,config){
{name: 'ke', length: 50, type: 'string'},
{name: 'mid', length: 100, type: 'string'},
{name: 'ext', type: 'string', length: 10, defaultTo: 'mp4'},
{name: 'size', type: 'integer'},
{name: 'size', type: 'bigint'},
{name: 'status', type: 'tinyint', length: 1, defaultTo: 0},
{name: 'archive', type: 'tinyint', length: 1, defaultTo: 0},
{name: 'objects', length: 510, type: 'string'},
@ -75,7 +75,7 @@ module.exports = function(s,config){
{name: 'ke', length: 50, type: 'string'},
{name: 'mid', length: 100, type: 'string'},
{name: 'href', length: 50, type: 'text'},
{name: 'size', type: 'integer'},
{name: 'size', type: 'bigint'},
{name: 'details', type: 'text'},
{name: 'status', type: 'integer', length: 1, defaultTo: 0},
{name: 'archive', type: 'tinyint', length: 1, defaultTo: 0},
@ -112,7 +112,7 @@ module.exports = function(s,config){
{name: 'mid', length: 100, type: 'string'},
{name: 'filename', length: 50, type: 'string'},
{name: 'time', type: 'timestamp', defaultTo: currentTimestamp()},
{name: 'size', type: 'integer'},
{name: 'size', type: 'bigint'},
{name: 'archive', length: 1, type: 'tinyint', defaultTo: 0},
{name: 'saveDir', length: 255, type: 'string'},
{name: 'details', type: 'text'},
@ -127,7 +127,7 @@ module.exports = function(s,config){
{name: 'href', type: 'text'},
{name: 'filename', length: 50, type: 'string'},
{name: 'time', type: 'timestamp', defaultTo: currentTimestamp()},
{name: 'size', type: 'integer'},
{name: 'size', type: 'bigint'},
{name: 'details', type: 'text'},
]);
await createTable('Logs',[