Create App for Selected Tables

kgerhartz

New member
I have a databse that was created by another piece of software. It contains many objects that I do not want to consider when creating the DaDaBik interface. Can this be done? If so, then how?

Windows
DDB 11.12 Elba
MS SQL Server
Apache 2.4
Edge
 

deep64blue

DaDaBIK Guru
Have a look at these options in config.php:-

PHP:
/*
DaDaBIK, during the installation, install in the application all the tables available in the database; add here the tables (if any) you want to exclude, one per line, for example if you want to exclude the tables "customers" and "countries" write:
$tables_to_exclude[0]='customers';
$tables_to_exclude[1]='countries';
don't touch this parameter if you want to include all the tables. You can always uninstall tables later using teh admin interface.
If you are using Microsoft SQL Server on Azure, consider that you cauld have in your database tables that Azure use for internal purposes that you probably don't want in your application. An example is the table "database_firewall_rules"
*/

$tables_to_exclude[0]='';

/*
DaDaBIK, during the installation, install in the application all the tables available in the database; add here the tables (if any) you want to exclude, one prefix per line, for example if you want to exclude all the tables that start with "wp_" and all the tables that start with "test_" write:
$prefixes_to_exclude[0]='wp_';
$prefixes_to_exclude[1]='test_';

don't touch this parameter if you want to include all the tables. You can always uninstall tables later using teh admin interface.

This parameter, in particular, is often used to easily install and use two or more different DaDaBIK applications using a shared database: for each apppplication you need a different $prefix_internal_table and you need to set, for $prefixes_to_exclude, all the prefixes used by the other applications.

*/
 
$prefixes_to_exclude[0]='';
 
Top