feat: save meal
This commit is contained in:
@@ -8,9 +8,9 @@ return new class extends Migration {
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('meal_posts', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->ulid('id')->primary();
|
||||
$table->foreignUlid('user_id')->constrained('users')->cascadeOnDelete();
|
||||
$table->string('image_url');
|
||||
$table->string('image_url', 2048);
|
||||
$table->text('caption')->nullable();
|
||||
$table->integer('calories')->nullable();
|
||||
$table->decimal('proteins',8,2)->nullable();
|
||||
|
||||
Reference in New Issue
Block a user