design-change

This commit is contained in:
tanch0
2024-06-11 17:34:46 +05:45
parent 567d179a36
commit 763075c7f8
12 changed files with 104 additions and 25 deletions

View File

@ -510,6 +510,10 @@ DB::statement("CREATE TABLE IF NOT EXISTS tbl_partners (
if (!Schema::hasColumn('franchises', 'for')) {
$table->text('for')->nullable()->after('franchise_id');
}
if (!Schema::hasColumn('franchises', 'link')) {
$table->string('link')->nullable()->after('banners');
}
});
Schema::table('settings', function (Blueprint $table) {
if (!Schema::hasColumn('settings', 'address')) {

View File

@ -22,6 +22,7 @@ class Franchises extends Model
'text',
'thumb',
'banners',
'link',
'display_order',
'status',
'created_at',