Skip to content

Commit

Permalink
fix foreign key
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancisTicgal committed Feb 5, 2024
1 parent f35325a commit a6196e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public static function install(Migration $migration): void
COLLATE={$default_collation} ROW_FORMAT=DYNAMIC;";
$DB->query($query) or die($DB->error());
} else {
$migration->changeField($table, 'costs_id', 'costs_id', 'int');
$migration->changeField($table, 'costs_id', 'costs_id', 'fkey');
}

$migration->executeMigration();
Expand Down

0 comments on commit a6196e3

Please sign in to comment.