hasTable('affiliate_banners')) { Capsule::schema()->create('affiliate_banners', function (Blueprint $table) { $table->bigIncrements('affiliate_banners_id'); $table->string('affiliate_banners_name'); $table->text('affiliate_banners_description')->nullable(); $table->string('affiliate_banners_image_url'); $table->string('affiliate_banners_target_url')->nullable(); $table->integer('affiliate_banners_width')->nullable(); $table->integer('affiliate_banners_height')->nullable(); $table->boolean('affiliate_banners_is_active')->default(true); $table->timestamps(); }); } } public function down() { Capsule::schema()->dropIfExists('affiliate_banners'); } }