Merge branch 'dev' into 'dev'
Adjust all integer column types to bigint See merge request Shinobi-Systems/Shinobi!458cycling-live-grid
commit
21cd956925
|
@ -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',[
|
||||
|
|
Loading…
Reference in New Issue