أُنشئ من Tokal/Test
Migrate backend stack to PostgreSQL
فشلت بعض الفحوصات
Deploy Backend / deploy (push) Has been cancelled
فشلت بعض الفحوصات
Deploy Backend / deploy (push) Has been cancelled
هذا الالتزام موجود في:
@@ -13,9 +13,9 @@ return new class extends Migration
|
||||
$table->dropColumn('name');
|
||||
|
||||
// نضيف الحقول تبع مشروعنا
|
||||
$table->string('first_name')->after('id');
|
||||
$table->string('last_name')->after('first_name');
|
||||
$table->string('phone')->unique()->after('email');
|
||||
$table->string('first_name');
|
||||
$table->string('last_name');
|
||||
$table->string('phone')->unique();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('venues', function (Blueprint $table) {
|
||||
$table->string('type')->default('restaurant')->after('name');
|
||||
$table->string('type')->default('restaurant');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('venues', function (Blueprint $table) {
|
||||
$table->string('address_text')->nullable()->after('description');
|
||||
$table->decimal('lat', 10, 7)->nullable()->after('address_text');
|
||||
$table->decimal('lng', 10, 7)->nullable()->after('lat');
|
||||
$table->string('address_text')->nullable();
|
||||
$table->decimal('lat', 10, 7)->nullable();
|
||||
$table->decimal('lng', 10, 7)->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('venues', function (Blueprint $table) {
|
||||
$table->boolean('is_active')->default(true)->after('lng');
|
||||
$table->boolean('is_active')->default(true);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('reservations', function (Blueprint $table) {
|
||||
$table->string('code', 8)->unique()->after('id');
|
||||
$table->string('code', 8)->unique();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
$table->unsignedSmallInteger('strike_count')->default(0)->after('password');
|
||||
$table->timestamp('blocked_until')->nullable()->after('strike_count');
|
||||
$table->boolean('blocked_permanent')->default(false)->after('blocked_until');
|
||||
$table->unsignedSmallInteger('strike_count')->default(0);
|
||||
$table->timestamp('blocked_until')->nullable();
|
||||
$table->boolean('blocked_permanent')->default(false);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('venues', function (Blueprint $table) {
|
||||
$table->json('amenities')->nullable()->after('phone');
|
||||
$table->json('amenities')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('venues', function (Blueprint $table) {
|
||||
$table->json('image_urls')->nullable()->after('amenities');
|
||||
$table->json('offers')->nullable()->after('image_urls');
|
||||
$table->json('image_urls')->nullable();
|
||||
$table->json('offers')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم