File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ class CreateKeyMessagesTable extends Migration
1212*/
1313public function up ()
1414{
15- Schema::dropIfExists ('key_messages ' ); // Drop the table if it already exists
15+ Schema::dropIfExists ('key_messages ' ); // Drop the table if it already exists
1616
17- Schema::create ('key_messages ' , function (Blueprint $ table ) {
18- $ table ->increments ('id ' );
19- $ table ->unsignedInteger ('entities_stage_id ' );
20- $ table ->string ('title ' );
21- $ table ->foreign ('entities_stage_id ' )->references ('id ' )->on ('whatnow_entity_stages ' )->onDelete ('cascade ' );
22- });
17+ Schema::create ('key_messages ' , function (Blueprint $ table ) {
18+ $ table ->increments ('id ' );
19+ $ table ->unsignedInteger ('entities_stage_id ' );
20+ $ table ->string ('title ' , 255 );
21+ $ table ->foreign ('entities_stage_id ' )->references ('id ' )->on ('whatnow_entity_stages ' )->onDelete ('cascade ' );
22+ });
2323}
2424
2525/**
You can’t perform that action at this time.
0 commit comments