Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisdelicata committed Oct 9, 2023
1 parent 039972c commit 7be6c31
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
{
Schema::create('user_social', function (Blueprint $table) {
$table->increments('id');
$table->unsignedInteger('user_id');
$table->unsignedBigInteger('user_id');
$table->string('social_id')->nullable();
$table->string('service');
$table->timestamps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up()
Schema::create('dnas', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->unsignedInteger('user_id');
$table->unsignedBigInteger('user_id');
$table->string('variable_name');
$table->string('file_name');
$table->timestamps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
{
Schema::create('dna_matchings', function (Blueprint $table) {
$table->id();
$table->unsignedInteger('user_id');
$table->unsignedBigInteger('user_id');
$table->string('image');
$table->string('file1');
$table->string('file2');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function up()
$table->text('description');
$table->string('slug', 20);
$table->unsignedInteger('order')->default(0);
$table->unsignedInteger('user_id');
$table->unsignedBigInteger('user_id');
$table->timestamps();

$table->foreign('user_id')->references('id')->on('users')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function up()
$table->id();
$table->string('title');
$table->unsignedBigInteger('category_id');
$table->unsignedInteger('user_id');
$table->unsignedBigInteger('user_id');
$table->timestamps();

$table->foreign('category_id')->references('id')->on('categories')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public function up()
{
Schema::table('dna_matchings', function (Blueprint $table) {
$table->unsignedInteger('match_id')->nullable();
$table->unsignedBigInteger('match_id')->nullable();
});
}

Expand Down

0 comments on commit 7be6c31

Please sign in to comment.