auto-update
This commit is contained in:
@@ -11,7 +11,7 @@ return new class() extends Migration {
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('date_time_format', function (Blueprint $table) {
|
||||
\Illuminate\Support\Facades\Schema::create('date_time_format', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('format');
|
||||
});
|
||||
|
@@ -10,12 +10,8 @@ return new class() extends Migration {
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
$current_version1 = \Config::get('app.version');
|
||||
$current_version2 = explode(' ', $current_version1);
|
||||
$current_version = $current_version2[1];
|
||||
$settings_system = DB::table('settings_system')->where('id', '=', '1')->first();
|
||||
if ($settings_system != null) {
|
||||
DB::table('settings_system')->insert(['version' => $current_version]);
|
||||
DB::table('common_settings')
|
||||
->insert(
|
||||
['option_name' => 'enable_rtl', 'option_value' => ''],
|
||||
|
Reference in New Issue
Block a user