diff --git a/database/migrations/2019_05_03_000001_create_customer_columns.php b/database/migrations/2019_05_03_000001_create_customer_columns.php index bd17cfe9..974b381e 100644 --- a/database/migrations/2019_05_03_000001_create_customer_columns.php +++ b/database/migrations/2019_05_03_000001_create_customer_columns.php @@ -25,6 +25,10 @@ public function up(): void public function down(): void { Schema::table('users', function (Blueprint $table) { + $table->dropIndex([ + 'stripe_id', + ]); + $table->dropColumn([ 'stripe_id', 'pm_type', diff --git a/testbench.yaml b/testbench.yaml index c0b21f4a..2405bfdf 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -3,3 +3,9 @@ providers: migrations: - database/migrations + +workbench: + build: + - create-sqlite-db + - db:wipe + - migrate:fresh