@@ -40,7 +40,7 @@ public static function columns(): array
40
40
],
41
41
'tinyint_col ' => [
42
42
'type ' => 'tinyint ' ,
43
- 'dbType ' => 'tinyint(3) ' ,
43
+ 'dbType ' => 'tinyint ' ,
44
44
'phpType ' => 'int ' ,
45
45
'primaryKey ' => false ,
46
46
'notNull ' => false ,
@@ -52,7 +52,7 @@ public static function columns(): array
52
52
],
53
53
'smallint_col ' => [
54
54
'type ' => 'smallint ' ,
55
- 'dbType ' => 'smallint(1) ' ,
55
+ 'dbType ' => 'smallint ' ,
56
56
'phpType ' => 'int ' ,
57
57
'primaryKey ' => false ,
58
58
'notNull ' => false ,
@@ -64,7 +64,7 @@ public static function columns(): array
64
64
],
65
65
'char_col ' => [
66
66
'type ' => 'char ' ,
67
- 'dbType ' => 'char(100) ' ,
67
+ 'dbType ' => 'char ' ,
68
68
'phpType ' => 'string ' ,
69
69
'primaryKey ' => false ,
70
70
'notNull ' => true ,
@@ -76,7 +76,7 @@ public static function columns(): array
76
76
],
77
77
'char_col2 ' => [
78
78
'type ' => 'string ' ,
79
- 'dbType ' => 'varchar(100) ' ,
79
+ 'dbType ' => 'varchar ' ,
80
80
'phpType ' => 'string ' ,
81
81
'primaryKey ' => false ,
82
82
'notNull ' => false ,
@@ -100,7 +100,7 @@ public static function columns(): array
100
100
],
101
101
'float_col ' => [
102
102
'type ' => 'double ' ,
103
- 'dbType ' => 'double(4,3) ' ,
103
+ 'dbType ' => 'double ' ,
104
104
'phpType ' => 'float ' ,
105
105
'primaryKey ' => false ,
106
106
'notNull ' => true ,
@@ -136,7 +136,7 @@ public static function columns(): array
136
136
],
137
137
'numeric_col ' => [
138
138
'type ' => 'decimal ' ,
139
- 'dbType ' => 'decimal(5,2) ' ,
139
+ 'dbType ' => 'decimal ' ,
140
140
'phpType ' => 'float ' ,
141
141
'primaryKey ' => false ,
142
142
'notNull ' => false ,
@@ -160,7 +160,7 @@ public static function columns(): array
160
160
],
161
161
'bool_col ' => [
162
162
'type ' => 'boolean ' ,
163
- 'dbType ' => 'tinyint(1) ' ,
163
+ 'dbType ' => 'tinyint ' ,
164
164
'phpType ' => 'bool ' ,
165
165
'primaryKey ' => false ,
166
166
'notNull ' => true ,
@@ -172,7 +172,7 @@ public static function columns(): array
172
172
],
173
173
'bool_col2 ' => [
174
174
'type ' => 'boolean ' ,
175
- 'dbType ' => 'tinyint(1) ' ,
175
+ 'dbType ' => 'tinyint ' ,
176
176
'phpType ' => 'bool ' ,
177
177
'primaryKey ' => false ,
178
178
'notNull ' => false ,
@@ -196,7 +196,7 @@ public static function columns(): array
196
196
],
197
197
'bit_col ' => [
198
198
'type ' => 'bit ' ,
199
- 'dbType ' => 'bit(8) ' ,
199
+ 'dbType ' => 'bit ' ,
200
200
'phpType ' => 'int ' ,
201
201
'primaryKey ' => false ,
202
202
'notNull ' => true ,
@@ -249,7 +249,7 @@ public static function columns(): array
249
249
],
250
250
'type ' => [
251
251
'type ' => 'string ' ,
252
- 'dbType ' => 'varchar(255) ' ,
252
+ 'dbType ' => 'varchar ' ,
253
253
'phpType ' => 'string ' ,
254
254
'primaryKey ' => false ,
255
255
'notNull ' => true ,
@@ -313,7 +313,7 @@ public static function columnsTypeBit(): array
313
313
[
314
314
'bit_col_1 ' => [
315
315
'type ' => 'boolean ' ,
316
- 'dbType ' => 'bit(1) ' ,
316
+ 'dbType ' => 'bit ' ,
317
317
'phpType ' => 'bool ' ,
318
318
'primaryKey ' => false ,
319
319
'notNull ' => true ,
@@ -325,7 +325,7 @@ public static function columnsTypeBit(): array
325
325
],
326
326
'bit_col_2 ' => [
327
327
'type ' => 'boolean ' ,
328
- 'dbType ' => 'bit(1) ' ,
328
+ 'dbType ' => 'bit ' ,
329
329
'phpType ' => 'bool ' ,
330
330
'primaryKey ' => false ,
331
331
'notNull ' => false ,
@@ -337,7 +337,7 @@ public static function columnsTypeBit(): array
337
337
],
338
338
'bit_col_3 ' => [
339
339
'type ' => 'bit ' ,
340
- 'dbType ' => 'bit(32) ' ,
340
+ 'dbType ' => 'bit ' ,
341
341
'phpType ' => 'int ' ,
342
342
'primaryKey ' => false ,
343
343
'notNull ' => true ,
@@ -349,7 +349,7 @@ public static function columnsTypeBit(): array
349
349
],
350
350
'bit_col_4 ' => [
351
351
'type ' => 'bit ' ,
352
- 'dbType ' => 'bit(32) ' ,
352
+ 'dbType ' => 'bit ' ,
353
353
'phpType ' => 'int ' ,
354
354
'primaryKey ' => false ,
355
355
'notNull ' => false ,
@@ -361,7 +361,7 @@ public static function columnsTypeBit(): array
361
361
],
362
362
'bit_col_5 ' => [
363
363
'type ' => 'bit ' ,
364
- 'dbType ' => 'bit(64) ' ,
364
+ 'dbType ' => 'bit ' ,
365
365
'phpType ' => 'int ' ,
366
366
'primaryKey ' => false ,
367
367
'notNull ' => true ,
@@ -373,7 +373,7 @@ public static function columnsTypeBit(): array
373
373
],
374
374
'bit_col_6 ' => [
375
375
'type ' => 'bit ' ,
376
- 'dbType ' => 'bit(64) ' ,
376
+ 'dbType ' => 'bit ' ,
377
377
'phpType ' => 'int ' ,
378
378
'primaryKey ' => false ,
379
379
'notNull ' => false ,
0 commit comments