Skip to content

Commit

Permalink
Update 2024_11_12_073145_add_json_type_to_custom_field_plain_types_ta…
Browse files Browse the repository at this point in the history
…ble.php

a
  • Loading branch information
ngaspari committed Nov 12, 2024
1 parent 5e7cc82 commit de8c2a8
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
*/
public function up()
{

$exists = DB::table('custom_field_plain_types')->where('name', 'json')->exists();
if ($exists) {
// already exists
return;
}

$types = ['json'];

$plainTypes = [];
Expand Down

0 comments on commit de8c2a8

Please sign in to comment.