mediumIncrements('id'); $table->boolean('enabled')->default(0); $table->enum('type', ['bbcodes', 'xhtml', 'text', 'image', 'flash']); $table->enum('position', ['header', 'footer', 'belownav', 'belowsearchbox', 'torrentdetail', 'comment', 'interoverforums', 'forumpost', 'popup']); $table->tinyInteger('displayorder')->default(0); $table->string('name')->default(''); $table->text('parameters'); $table->text('code'); $table->dateTime('starttime'); $table->dateTime('endtime'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('advertisements'); } }