Closed duncanmcclean closed 3 months ago
Interesting! What version of MySQL are you running?
@IVoyt Can you run \Illuminate\Support\Facades\Schema::getColumns('your_table_name');
and paste the results here?
\Illuminate\Support\Facades\Schema::getColumns('your_table_name');
here is the output
array:7 [
0 => array:9 [
"name" => "id"
"type_name" => "bigint"
"type" => "bigint(20) unsigned"
"collation" => null
"nullable" => false
"default" => null
"auto_increment" => true
"comment" => null
"generation" => null
]
1 => array:9 [
"name" => "name"
"type_name" => "json"
"type" => "json"
"collation" => null
"nullable" => false
"default" => null
"auto_increment" => false
"comment" => null
"generation" => null
]
2 => array:9 [
"name" => "logo"
"type_name" => "json"
"type" => "json"
"collation" => null
"nullable" => false
"default" => null
"auto_increment" => false
"comment" => null
"generation" => null
]
3 => array:9 [
"name" => "url"
"type_name" => "varchar"
"type" => "varchar(255)"
"collation" => "utf8mb4_unicode_ci"
"nullable" => false
"default" => null
"auto_increment" => false
"comment" => null
"generation" => null
]
4 => array:9 [
"name" => "status"
"type_name" => "int"
"type" => "int(11)"
"collation" => null
"nullable" => false
"default" => null
"auto_increment" => false
"comment" => null
"generation" => null
]
5 => array:9 [
"name" => "created_at"
"type_name" => "timestamp"
"type" => "timestamp"
"collation" => null
"nullable" => true
"default" => null
"auto_increment" => false
"comment" => null
"generation" => null
]
6 => array:9 [
"name" => "updated_at"
"type_name" => "timestamp"
"type" => "timestamp"
"collation" => null
"nullable" => true
"default" => null
"auto_increment" => false
"comment" => null
"generation" => null
]
]
Released as part of v7.4.0.
Discussed in https://github.com/statamic-rad-pack/runway/discussions/521