Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore default migration #606

Merged
merged 1 commit into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading