Skip to content

Commit

Permalink
Renamed to database/migrations/2023_01_01_000000_create_users_table.p...
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jun 15, 2024
1 parent 200b096 commit e4ff6e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Models/PaymentMethod.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php

namespace App\Models;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function up(): void
$table->foreignId('order_id')->constrained()->onUpdate('cascade')->onDelete('cascade');
$table->foreignId('product_id')->constrained()->onUpdate('cascade')->onDelete('cascade');
$table->integer('quantity');
$table->decimal('price, 10, 2');
$table->decimal('price', 10, 2);
$table->timestamps();
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ public function up(): void
*/
public function down(): void
{
Schema::dropIfExists('invoice');
Schema::dropIfExists($this->table);
}
};

0 comments on commit e4ff6e4

Please sign in to comment.