File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,15 @@ public function up()
1717 $ table ->index ('task_id ' , 'task_results_task_id_idx ' );
1818 $ table ->index ('ran_at ' , 'task_results_ran_at_idx ' );
1919 $ table ->foreign ('task_id ' , 'task_id_fk ' )
20- ->references ('id ' )->on ('tasks ' );
20+ ->references ('id ' )
21+ ->on (config ('totem.table_prefix ' ).'tasks ' );
2122 });
2223
2324 Schema::table (config ('totem.table_prefix ' ).'task_frequencies ' , function (Blueprint $ table ) {
2425 $ table ->index ('task_id ' , 'task_frequencies_task_id_idx ' );
2526 $ table ->foreign ('task_id ' , 'task_frequencies_task_id_fk ' )
26- ->references ('id ' )->on ('tasks ' );
27+ ->references ('id ' )
28+ ->on (config ('totem.table_prefix ' ).'tasks ' );
2729 });
2830
2931 Schema::table (config ('totem.table_prefix ' ).'tasks ' , function (Blueprint $ table ) {
You can’t perform that action at this time.
0 commit comments