Skip to content

Commit 7e6cbd7

Browse files
committed
[3.0] Move to BIGINT for timestamps
Fixes #8947
1 parent 3d9d009 commit 7e6cbd7

29 files changed

+37
-37
lines changed

Sources/Db/Schema/v3_0/BackgroundTasks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function __construct()
6464
),
6565
'claimed_time' => new Column(
6666
name: 'claimed_time',
67-
type: 'int',
67+
type: 'bigint',
6868
unsigned: true,
6969
not_null: true,
7070
default: 0,

Sources/Db/Schema/v3_0/BanGroups.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ public function __construct()
5252
),
5353
'ban_time' => new Column(
5454
name: 'ban_time',
55-
type: 'int',
55+
type: 'bigint',
5656
unsigned: true,
5757
not_null: true,
5858
default: 0,
5959
),
6060
'expire_time' => new Column(
6161
name: 'expire_time',
62-
type: 'int',
62+
type: 'bigint',
6363
unsigned: true,
6464
not_null: false,
6565
default: null,

Sources/Db/Schema/v3_0/LogActions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct()
5252
),
5353
'log_time' => new Column(
5454
name: 'log_time',
55-
type: 'int',
55+
type: 'bigint',
5656
unsigned: true,
5757
not_null: true,
5858
default: 0,

Sources/Db/Schema/v3_0/LogBanned.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function __construct()
6464
),
6565
'log_time' => new Column(
6666
name: 'log_time',
67-
type: 'int',
67+
type: 'bigint',
6868
unsigned: true,
6969
not_null: true,
7070
default: 0,

Sources/Db/Schema/v3_0/LogComments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function __construct()
8080
),
8181
'log_time' => new Column(
8282
name: 'log_time',
83-
type: 'int',
83+
type: 'bigint',
8484
not_null: true,
8585
default: 0,
8686
),

Sources/Db/Schema/v3_0/LogErrors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct()
4545
),
4646
'log_time' => new Column(
4747
name: 'log_time',
48-
type: 'int',
48+
type: 'bigint',
4949
unsigned: true,
5050
not_null: true,
5151
default: 0,

Sources/Db/Schema/v3_0/LogFloodcontrol.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct()
4444
),
4545
'log_time' => new Column(
4646
name: 'log_time',
47-
type: 'int',
47+
type: 'bigint',
4848
unsigned: true,
4949
not_null: true,
5050
default: 0,

Sources/Db/Schema/v3_0/LogGroupRequests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function __construct()
5959
),
6060
'time_applied' => new Column(
6161
name: 'time_applied',
62-
type: 'int',
62+
type: 'bigint',
6363
unsigned: true,
6464
not_null: true,
6565
default: 0,
@@ -99,7 +99,7 @@ public function __construct()
9999
),
100100
'time_acted' => new Column(
101101
name: 'time_acted',
102-
type: 'int',
102+
type: 'bigint',
103103
unsigned: true,
104104
not_null: true,
105105
default: 0,

Sources/Db/Schema/v3_0/LogOnline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct()
4545
),
4646
'log_time' => new Column(
4747
name: 'log_time',
48-
type: 'int',
48+
type: 'bigint',
4949
not_null: true,
5050
default: 0,
5151
),

Sources/Db/Schema/v3_0/LogPackages.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function __construct()
8686
),
8787
'time_installed' => new Column(
8888
name: 'time_installed',
89-
type: 'int',
89+
type: 'bigint',
9090
not_null: true,
9191
default: 0,
9292
),
@@ -105,7 +105,7 @@ public function __construct()
105105
),
106106
'time_removed' => new Column(
107107
name: 'time_removed',
108-
type: 'int',
108+
type: 'bigint',
109109
not_null: true,
110110
default: 0,
111111
),

0 commit comments

Comments
 (0)