First Commit

This commit is contained in:
marco
2026-09-01 10:46:29 -03:00
commit bf96b77e9c
10000 changed files with 3508600 additions and 0 deletions
@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Capsule\Manager as Capsule;
use Illuminate\Database\Schema\Blueprint;
class CreateAffiliateBannersTable
{
public function up()
{
if (!Capsule::schema()->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');
}
}