increments('id'); $table->integer('subscription_id')->nullable(); $table->string('code', 100)->nullable(); $table->date('valid_until')->nullable(); $table->string('used', 255)->nullable(); $table->increments(')')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('plan_subscription_usages'); } }