Skip to content
Permalink
Browse files

Revert "Use `unsignedBigInteger` for `interactions.user_id` user rela…

…tionship"
  • Loading branch information...
mkwsra committed May 20, 2019
1 parent f6151ab commit e7ae93db23d9820f6dd4331f4273f7a07fae6ca0
@@ -16,7 +16,7 @@ public function up()
$userModel = config('auth.providers.users.model');
$userModel = (new $userModel);
$table->unsignedBigInteger('user_id')->index();
$table->unsignedInteger('user_id')->index();
$table->morphs('subject');
$table->string('relation')->default('follow')->comment('follow/like/subscribe/favorite/upvote/downvote');
$table->integer('relation_value')->nullable();

2 comments on commit e7ae93d

@pawel-miczka

This comment has been minimized.

Copy link

replied Oct 4, 2019

Actually I don't understand why that was reverted. Without 'unsignedBigInteger' there is no way to run successfully migrations

@mkwsra

This comment has been minimized.

Copy link
Member Author

replied Oct 5, 2019

@pawel-miczka I did revert it only to support all version of Laravel, so I took such change into the master branch, perhaps you are using an older version of this package? please let me know if you need any help

Please sign in to comment.
You can’t perform that action at this time.