Compare commits
No commits in common. "46014465531f1d881c2c91c4f647fdd6dc1fd2aa" and "ffb371438ade8c4584b146b5e594ba110fe3f039" have entirely different histories.
4601446553
...
ffb371438a
@ -12,14 +12,10 @@
|
|||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
Schema::table('sponsors', function (Blueprint $table) {
|
Schema::table('sponsors', function (Blueprint $table) {
|
||||||
if (!Schema::hasColumn('sponsors', 'emirates_id_gender')) {
|
$table->string('emirates_id_gender')->nullable()->after('emirates_id_nationality');
|
||||||
$table->string('emirates_id_gender')->nullable()->after('emirates_id_nationality');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
Schema::table('employer_profiles', function (Blueprint $table) {
|
Schema::table('employer_profiles', function (Blueprint $table) {
|
||||||
if (!Schema::hasColumn('employer_profiles', 'emirates_id_gender')) {
|
$table->string('emirates_id_gender')->nullable()->after('emirates_id_nationality');
|
||||||
$table->string('emirates_id_gender')->nullable()->after('emirates_id_nationality');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -29,14 +25,10 @@ public function up(): void
|
|||||||
public function down(): void
|
public function down(): void
|
||||||
{
|
{
|
||||||
Schema::table('sponsors', function (Blueprint $table) {
|
Schema::table('sponsors', function (Blueprint $table) {
|
||||||
if (Schema::hasColumn('sponsors', 'emirates_id_gender')) {
|
$table->dropColumn('emirates_id_gender');
|
||||||
$table->dropColumn('emirates_id_gender');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
Schema::table('employer_profiles', function (Blueprint $table) {
|
Schema::table('employer_profiles', function (Blueprint $table) {
|
||||||
if (Schema::hasColumn('employer_profiles', 'emirates_id_gender')) {
|
$table->dropColumn('emirates_id_gender');
|
||||||
$table->dropColumn('emirates_id_gender');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user