Skip to content

Commit bb6ba4e

Browse files
committed
Add order fields to Order model
1 parent cfd7381 commit bb6ba4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

database/migrations/2021_01_13_201433_create_orders_table.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ public function up()
1515
{
1616
Schema::create('orders', function (Blueprint $table) {
1717
$table->id();
18+
$table->integer('user_id');
19+
$table->string('transaction_id');
20+
$table->integer('total')->default(0);
1821
$table->timestamps();
1922
});
2023
}

0 commit comments

Comments
 (0)