Skip to content

Commit

Permalink
Remove more bad migration code.
Browse files Browse the repository at this point in the history
Removed Bad Code
  • Loading branch information
BossOfGames committed Apr 21, 2024
1 parent e233fb9 commit ac82861
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,6 @@ class CreateChTripTemplatesTable extends Migration
*/
public function up()
{
// Allow Multiple Users to be assigned to a trip.
Schema::create('trip_report_user', function (Blueprint $table) {
$table->string('trip_report_id');
$table->foreignId('user_id');
$table->boolean('owner');
});
// Convert Users from old trip ownership to new one.
//$tr = \Modules\CHTrips\Models\TripReport::all();
//$user_id = $tr->owner_id;
//$tr->users()->attach($user_id, ['owner' => true]);

// Add Trip Templates
Schema::create('ch_trip_templates', function (Blueprint $table) {
$table->increments('id');
Expand Down

0 comments on commit ac82861

Please sign in to comment.