Skip to content

Commit

Permalink
update migration
Browse files Browse the repository at this point in the history
  • Loading branch information
railken committed Mar 29, 2024
1 parent a2b3efa commit fa4f8e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CreateFilesTable extends Migration
public function up()
{
Schema::create(Config::get('amethyst.file.data.file.table'), function (Blueprint $table) {
$table->increments('id');
$table->id();
$table->string('name')->nullable();
$table->string('type')->nullable();
$table->string('path')->nullable();
Expand Down
2 changes: 1 addition & 1 deletion tests/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function setUp(): void
$this->artisan('migrate');
Schema::dropIfExists('foo');
Schema::create('foo', function ($table) {
$table->increments('id');
$table->id();
$table->string('name')->nullable();
$table->timestamps();
});
Expand Down

0 comments on commit fa4f8e1

Please sign in to comment.