Creating relationships between users/items/products

This commit is contained in:
2018-09-12 02:31:03 -03:00
parent 7701c1a11d
commit fd9e145443
8 changed files with 25 additions and 27 deletions

View File

@@ -16,7 +16,7 @@ class CreateProductsTable extends Migration
Schema::create('products', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->integer('admin_id');
$table->integer('user_id');
$table->timestamps();
});
}