@@ -25,7 +25,7 @@ public function up(): void
25
25
// - We may need to keep a hashed version of the text columns to index and group by.
26
26
// - Do another pass at the indexes to ensure that they are optimized correctly.
27
27
Schema::create ('pulse_system_stats ' , function (Blueprint $ table ) {
28
- $ table ->timestamp ('date ' );
28
+ $ table ->datetime ('date ' );
29
29
$ table ->string ('server ' );
30
30
$ table ->unsignedTinyInteger ('cpu_percent ' );
31
31
$ table ->unsignedInteger ('memory_used ' );
@@ -36,7 +36,7 @@ public function up(): void
36
36
});
37
37
38
38
Schema::create ('pulse_requests ' , function (Blueprint $ table ) {
39
- $ table ->timestamp ('date ' );
39
+ $ table ->datetime ('date ' );
40
40
$ table ->string ('user_id ' )->nullable ();
41
41
$ table ->string ('route ' );
42
42
$ table ->unsignedInteger ('duration ' );
@@ -46,7 +46,7 @@ public function up(): void
46
46
});
47
47
48
48
Schema::create ('pulse_exceptions ' , function (Blueprint $ table ) {
49
- $ table ->timestamp ('date ' );
49
+ $ table ->datetime ('date ' );
50
50
$ table ->string ('user_id ' )->nullable ();
51
51
$ table ->string ('class ' );
52
52
$ table ->string ('location ' );
@@ -55,7 +55,7 @@ public function up(): void
55
55
});
56
56
57
57
Schema::create ('pulse_slow_queries ' , function (Blueprint $ table ) {
58
- $ table ->timestamp ('date ' );
58
+ $ table ->datetime ('date ' );
59
59
$ table ->string ('user_id ' )->nullable ();
60
60
$ table ->string ('sql ' );
61
61
$ table ->unsignedInteger ('duration ' );
@@ -64,7 +64,7 @@ public function up(): void
64
64
});
65
65
66
66
Schema::create ('pulse_jobs ' , function (Blueprint $ table ) {
67
- $ table ->timestamp ('date ' );
67
+ $ table ->datetime ('date ' );
68
68
$ table ->string ('user_id ' )->nullable ();
69
69
$ table ->string ('job ' );
70
70
$ table ->uuid ('job_uuid ' );
@@ -78,23 +78,23 @@ public function up(): void
78
78
});
79
79
80
80
Schema::create ('pulse_cache_interactions ' , function (Blueprint $ table ) {
81
- $ table ->timestamp ('date ' );
81
+ $ table ->datetime ('date ' );
82
82
$ table ->string ('key ' );
83
83
$ table ->boolean ('hit ' );
84
84
$ table ->string ('user_id ' )->nullable ();
85
85
// TODO: indexes?
86
86
});
87
87
88
88
Schema::create ('pulse_outgoing_requests ' , function (Blueprint $ table ) {
89
- $ table ->timestamp ('date ' );
89
+ $ table ->datetime ('date ' );
90
90
$ table ->string ('uri ' );
91
91
$ table ->unsignedInteger ('duration ' );
92
92
$ table ->string ('user_id ' )->nullable ();
93
93
// TODO: indexes?
94
94
});
95
95
96
96
Schema::create ('pulse_queue_sizes ' , function (Blueprint $ table ) {
97
- $ table ->timestamp ('date ' );
97
+ $ table ->datetime ('date ' );
98
98
$ table ->string ('connection ' );
99
99
$ table ->string ('queue ' );
100
100
$ table ->unsignedInteger ('size ' );
0 commit comments