Skip to content

Commit

Permalink
Merge pull request #606 from dbarzin/dev
Browse files Browse the repository at this point in the history
ignore default migration
  • Loading branch information
dbarzin authored Jan 22, 2024
2 parents a811ab4 + 72f80f6 commit 067e2dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace App\Providers;

use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
use Laravel\Sanctum\Sanctum;

class AppServiceProvider extends ServiceProvider
{
Expand All @@ -16,6 +16,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function register()
{
//Ignore default migration from here
Sanctum::ignoreMigrations();
}

/**
Expand Down
1 change: 0 additions & 1 deletion docker/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ nodaemon=true
command=/bin/sh -c '
if [ ! -s ${DB_DATABASE} ];
then
php artisan passport:install;
php artisan migrate --seed --force;
else
php artisan migrate --force;
Expand Down

0 comments on commit 067e2dc

Please sign in to comment.