Skip to content

Commit

Permalink
Add indexes (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Nov 20, 2023
1 parent 8e135fe commit d11c368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/migrations/2023_01_16_000003_create_orders_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public function up(): void
$table->string('lemon_squeezy_id')->unique();
$table->string('customer_id');
$table->uuid('identifier')->unique();
$table->string('product_id');
$table->string('variant_id');
$table->string('product_id')->index();
$table->string('variant_id')->index();
$table->integer('order_number')->unique();
$table->string('currency');
$table->integer('subtotal');
Expand Down

0 comments on commit d11c368

Please sign in to comment.