NoImport
List tables that should not be subject to an auto-import.
Synopsis
|
NoImport tablename [tablenames...]
|
Scope
This directive is only available for use in the local
(catalog.cfg) configuration file.
It will not affect any other website in any way.
This directive will not work in the global
(interchange.cfg) configuration file.
Description
When set to one or more Interchange table identifiers, those table(s)
will never be subject to an import operation.
Normally, Interchange checks to see if each table needs to be created and
populated (from a text file) when the Interchange daemon is (re)started,
or a website is reconfigured.
This is useful for SQL-based tables that are used by other applications,
besides Interchange,
or for large databases you load and back up outside of Interchange.
With this option you can omit the source text file for SQL-based tables
entirely.
|
Warning
If a ".sql" file is present for a table,
in the DataDir directory,
then the table will not be dropped, recreated or imported,
regardless of this directive's value.
The ".sql" files may be prefixed with a dot (.),
and thereby "hidden" from view if the
HIDE_AUTO_FILES
setting is in force for the table (or for all tables).
|
Examples
Specify one table that should not be auto-imported
Specify more than one table that should not be auto-imported
|
NoImport inventory products userdb
|