increments('id'); $table->string('name', 190)->nullable(); $table->string('title_h1', 190)->nullable(); $table->string('title_h2', 190)->nullable(); $table->string('search_for', 190)->nullable(); $table->string('alias', 32)->nullable(); $table->text('page_title')->nullable(); $table->mediumText('alt_text')->nullable(); $table->text('description')->nullable(); $table->string('embed_code', 100)->nullable(); $table->string('meta_title_brand', 190)->nullable(); $table->string('meta_keywords_brand', 190)->nullable(); $table->string('meta_description_brand', 190)->nullable(); $table->float('discount_carton')->nullable(); $table->enum('brand_discount', ['0','1'])->nullable(); $table->string('discount_type', 20)->nullable(); $table->date('expiry_date')->nullable(); $table->enum('delivery_surcharge', ['0','1'])->nullable(); $table->float('surcharge_value')->nullable(); $table->integer('surcharge_minprod')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('brands'); } }