Skip to content

Commit b40b5ba

Browse files
author
lizhuangzhuang
committed
Fixed option set command
1 parent da2d629 commit b40b5ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

database/migrations/2017_03_03_100000_create_options_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ public function up()
1515
{
1616
Schema::create('options', function (Blueprint $table) {
1717
$table->increments('id');
18+
$table->string('module', 40)->index()->nullable();
1819
$table->string('key')->unique();
1920
$table->text('value');
2021
$table->string('comment')->nullable();
21-
$table->string('module', 40)->index()->nullable();
2222
$table->timestamps();
2323
$table->softDeletes();
2424
});

src/Console/OptionSetCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Reallyli\Options\Console;
44

5-
use Reallyli\Options\Option as Option;
65
use Illuminate\Console\Command;
6+
use Reallyli\Options\Facade\Option;
77

88
class OptionSetCommand extends Command
99
{

0 commit comments

Comments
 (0)