- Added configuration file for DBSkel

- Added library for DBSkel logic
This commit is contained in:
Paolo
2019-05-28 17:10:30 +02:00
parent 70c2686932
commit e8aeefd966
2 changed files with 1173 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Enable/Disable DBSkel procedure
|--------------------------------------------------------------------------
|
| DBSkel is disabled by default for security reasons.
| You should enable DBSkel whenever you intend to use DBSkel
|
*/
$config['dbskel_enabled'] = false;
/*
|--------------------------------------------------------------------------
| DBSkel mode
|--------------------------------------------------------------------------
|
| This is used to set the dbskel mode:
| - dryrun: run without changing the database, useful for testing
| - new: build a new database or if database is already present creates only new objects
| - diff: like new, but it also remove object from database that are NOT present in configuration files
|
*/
$config['dbskel_mode'] = 'dryrun';
File diff suppressed because it is too large Load Diff