increments('id'); $table->string('instance', 255)->nullable(); $table->longText('content')->nullable(); $table->string('total', 30)->nullable(); $table->string('subtotal', 30)->nullable(); $table->string('tax', 30)->nullable(); $table->string('discount', 30)->nullable(); $table->integer('count')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('carts'); } }