w0bm.com v1.5z FULL.RETARD.BUILD.BUT.STILL.WORKS
This commit is contained in:
35
database/migrations/2017_01_04_113103_banners.php
Normal file
35
database/migrations/2017_01_04_113103_banners.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class Banners extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('banners', function(Blueprint $t) {
|
||||
$t->increments('id');
|
||||
$t->string('customer')->nullable();
|
||||
$t->string('url');
|
||||
$t->string('image');
|
||||
$t->boolean('sfw');
|
||||
$t->timestamp('until');
|
||||
$t->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::drop('banners');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user