Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit d3a47a4

Browse files
author
joselfonseca
committed
update migrations
1 parent ff09c40 commit d3a47a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

database/migrations/2014_10_12_000000_create_users_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CreateUsersTable extends Migration
1414
public function up()
1515
{
1616
Schema::create('users', function (Blueprint $table) {
17-
$table->bigIncrements('id');
17+
$table->id();
1818
$table->string('name');
1919
$table->uuid('uuid')->index()->unique();
2020
$table->string('email')->unique();

database/migrations/2017_08_08_193843_create_assets_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CreateAssetsTable extends Migration
1414
public function up()
1515
{
1616
Schema::create('assets', function (Blueprint $table) {
17-
$table->bigIncrements('id');
17+
$table->id();
1818
$table->bigInteger('user_id')->unsigned()->nullable();
1919
$table->uuid('uuid')->index()->unique();
2020
$table->string('type', 45)->nullable();

0 commit comments

Comments
 (0)