File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -45,17 +45,22 @@ public function up()
45
45
*/
46
46
public function down ()
47
47
{
48
+ Schema::table (config ('totem.table_prefix ' ).'task_results ' , function (Blueprint $ table ) {
49
+ $ table ->dropForeign ('task_results_task_id_fk ' );
50
+ });
48
51
Schema::table (config ('totem.table_prefix ' ).'task_results ' , function (Blueprint $ table ) {
49
52
$ table ->dropIndex ('task_results_task_id_idx ' );
50
53
$ table ->dropIndex ('task_results_ran_at_idx ' );
51
- $ table ->dropForeign ('task_results_task_id_fk ' );
52
54
});
53
55
54
56
Schema::table (config ('totem.table_prefix ' ).'task_frequencies ' , function (Blueprint $ table ) {
55
- $ table ->dropIndex ('task_frequencies_task_id_idx ' );
56
57
$ table ->dropForeign ('task_frequencies_task_id_fk ' );
57
58
});
58
59
60
+ Schema::table (config ('totem.table_prefix ' ).'task_frequencies ' , function (Blueprint $ table ) {
61
+ $ table ->dropIndex ('task_frequencies_task_id_idx ' );
62
+ });
63
+
59
64
Schema::table (config ('totem.table_prefix ' ).'tasks ' , function (Blueprint $ table ) {
60
65
$ table ->dropIndex ('tasks_is_active_idx ' );
61
66
$ table ->dropIndex ('tasks_dont_overlap_idx ' );
You can’t perform that action at this time.
0 commit comments