Skip to content

Commit df7ec5b

Browse files
committed
Use package name as a example table name
1 parent 4faccee commit df7ec5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/stubs/install/Con_database/migrations/2014_10_12_000000_create_examples_table.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
public function up(): void
1515
{
16-
Schema::create('examples', function (Blueprint $table) {
16+
Schema::create('{{ $PACKAGE_SLUG }}', function (Blueprint $table) {
1717
$table->id();
1818

1919
// ...
@@ -27,6 +27,6 @@ public function up(): void
2727
*/
2828
public function down(): void
2929
{
30-
Schema::dropIfExists('examples');
30+
Schema::dropIfExists('{{ $PACKAGE_SLUG }}');
3131
}
3232
};

0 commit comments

Comments
 (0)