Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ksassnowski/venture
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Sep 19, 2024
2 parents 04630d3 + 6d18121 commit 54435cb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion database/migrations/create_workflow_tables.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

return new class() extends Migration {
public function up()
public function up(): void
{
Schema::create(config('venture.workflow_table'), function (Blueprint $table) {
$table->id();
Expand Down Expand Up @@ -43,4 +43,10 @@ return new class() extends Migration {
->onDelete('cascade');
});
}

public function down(): void
{
Schema::dropIfExists(config('venture.jobs_table'));
Schema::dropIfExists(config('venture.workflow_table'));
}
};

0 comments on commit 54435cb

Please sign in to comment.