Create routes and views for customers and their addresses.
This commit is contained in:
@@ -12,7 +12,7 @@ return new class extends Migration {
|
||||
{
|
||||
Schema::create('addresses', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('user_id')->constrained();
|
||||
$table->foreignId('customer_id')->constrained();
|
||||
|
||||
$table->string('name');
|
||||
$table->string('email')->nullable();
|
||||
|
||||
Reference in New Issue
Block a user