|
@@ -0,0 +1,33 @@
|
|
1
|
+<?php
|
|
2
|
+
|
|
3
|
+use Illuminate\Database\Schema\Blueprint;
|
|
4
|
+use Illuminate\Database\Migrations\Migration;
|
|
5
|
+
|
|
6
|
+class FixObjectivesTable2 extends Migration {
|
|
7
|
+
|
|
8
|
+ /**
|
|
9
|
+ * Run the migrations.
|
|
10
|
+ *
|
|
11
|
+ * @return void
|
|
12
|
+ */
|
|
13
|
+ public function up()
|
|
14
|
+ {
|
|
15
|
+ Schema::table('objectives', function (Blueprint $table) {
|
|
16
|
+
|
|
17
|
+ $table->dropForeign('objectives_program_id_foreign');
|
|
18
|
+ //$table->dropColumn('program_id');
|
|
19
|
+ //$table->dropColumn('outcome_id');
|
|
20
|
+ });
|
|
21
|
+ }
|
|
22
|
+
|
|
23
|
+ /**
|
|
24
|
+ * Reverse the migrations.
|
|
25
|
+ *
|
|
26
|
+ * @return void
|
|
27
|
+ */
|
|
28
|
+ public function down()
|
|
29
|
+ {
|
|
30
|
+ //
|
|
31
|
+ }
|
|
32
|
+
|
|
33
|
+}
|