public function setUp() { parent::setUp(); $this->mockWebApplication(); Manager::schema()->dropIfExists('order'); Manager::schema()->create('order', function (Blueprint $table) { $table->increments('id'); $table->string('address')->unique(); $table->timestamps(); }); }
public function setUp() { parent::setUp(); $this->mockWebApplication(); Manager::schema()->dropIfExists('users'); Manager::schema()->create('users', function (Blueprint $table) { $table->increments('id'); $table->string('username'); $table->string('auth_key'); $table->timestamps(); }); }
public function tearDown() { $this->db->schema()->dropIfExists('user'); $this->db->schema()->dropIfExists('order'); parent::tearDown(); }
public function tearDown() { parent::tearDown(); }
public function tearDown() { Manager::schema()->dropIfExists('migration'); $this->tearDownMigrationPath(); parent::tearDown(); }