add setting() helper; fix invalid defaults for mysql in table
This commit is contained in:
@@ -15,11 +15,11 @@ class CreateSettingsTable extends Migration
|
||||
Schema::create('settings', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->integer('order')->default(1);
|
||||
$table->string('name')->default('');
|
||||
$table->string('name');
|
||||
$table->string('key');
|
||||
$table->string('value');
|
||||
$table->string('group')->default('general');
|
||||
$table->text('type')->default('text');
|
||||
$table->string('group')->nullable();
|
||||
$table->text('type')->nullable();
|
||||
$table->text('options')->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user