Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Commit ed6dcbb

Browse files
author
atehnix
committed
FIX #4
1 parent 4dc2a6d commit ed6dcbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

publish/database/2016_01_01_100000_create_vk_requester_tables.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ public function up()
2525
Schema::create($this->table, function (Blueprint $table) {
2626
$table->increments('id');
2727
$table->string('method');
28-
$table->text('parameters');
29-
$table->string('token');
28+
$table->text('parameters')->nullable();
29+
$table->string('token')->nullable();
3030
$table->string('tag')->default('default');
31-
$table->text('context');
31+
$table->text('context')->nullable();
3232
$table->timestamps();
3333
});
3434
}
@@ -38,6 +38,6 @@ public function up()
3838
*/
3939
public function down()
4040
{
41-
Schema::drop($this->table);
41+
Schema::dropIfExists($this->table);
4242
}
4343
}

0 commit comments

Comments
 (0)