mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-21 13:34:16 +00:00
Merge branch 'asif/contact' of gitlab.com:CIEFWorldwideSdnBhd/izyim-api into asif/warehouses
# Conflicts: # app/Http/Controllers/CompanyController.php # package-lock.json # routes/api.php
This commit is contained in:
@@ -15,7 +15,7 @@ class CreateContactsTable extends Migration
|
||||
{
|
||||
Schema::create('contacts', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->integer('user_id')->unsigned();
|
||||
$table->integer('user_id')->unsigned();
|
||||
$table->foreign('user_id')
|
||||
|
||||
->references('id')->on('users')
|
||||
|
||||
Reference in New Issue
Block a user