mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-29 18:55:53 -04:00
22 lines
479 B
PHP
22 lines
479 B
PHP
<?php
|
|
|
|
namespace App\Database\Migrations;
|
|
|
|
use CodeIgniter\Database\Migration;
|
|
|
|
class PluginConfigTableCreate extends Migration
|
|
{
|
|
public function up(): void
|
|
{
|
|
log_message('info', 'Migrating plugin_config table started');
|
|
|
|
helper('migration');
|
|
execute_script(APPPATH . 'Database/Migrations/sqlscripts/3.5.0_PluginConfigTableCreate.sql');
|
|
}
|
|
|
|
public function down(): void
|
|
{
|
|
$this->forge->dropTable('plugin_config', true);
|
|
}
|
|
}
|