{"__v":2,"_id":"573996faf6877e170078f0a6","category":{"project":"5735936aafab441700723a50","version":"5735936aafab441700723a53","_id":"5735e5d9e4824c3400aa1f23","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-05-13T14:34:01.858Z","from_sync":false,"order":9,"slug":"configuration-options-core-import","title":"Configuration Options (Core Import)"},"parentDoc":null,"project":"5735936aafab441700723a50","user":"573592b84b0ab120000b7d44","version":{"__v":12,"_id":"5735936aafab441700723a53","project":"5735936aafab441700723a50","createdAt":"2016-05-13T08:42:18.615Z","releaseDate":"2016-05-13T08:42:18.615Z","categories":["5735936aafab441700723a54","5735a32931a73b1700887c94","5735b55beceb872200abbc6c","5735b56eb667601700d3bd6f","5735b9ba4b0ab120000b7dd4","5735b9c94b0ab120000b7dd5","5735cb131f16241700c8a0f7","5735e5c4e4824c3400aa1f21","5735e5d9e4824c3400aa1f23","5735e5f2ec67f6290013ac72","573ecfe0804f901700a9dfc7","573f276c7eeb8b190094ca7d"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-16T09:46:34.170Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":13,"body":"```\n[MODIFY]\n  OVERWRITE_DB = 1\n  TRUNCATE_SEQUENCE_TABLES = 1\n```\n- If ``OVERWRITE_DB`` is set to 1, running this script will cause any existing database with the same [[DATABASE_CORE]](doc:database_core-core) ``NAME`` to be dropped and recreated before any data are imported.\n- Setting ``TRUNCATE_SEQUENCE_TABLES`` to 1 will truncate any existing sequence tables before importing.\n- if these values are left unset, additional data will be added to an existing database/sequence table, which may have unintended consequences so proceed with caution.\n\n```\n[MODIFY]\n  TRUNCATE_GENE_TABLES = 1\n```\nIf ``TRUNCATE_GENE_TABLES`` is set, all tables that are associated with specific gene models will be truncated allowing for a fresh import of the data.  Otherwise, only additional data will be imported.","excerpt":"","slug":"modify-core","type":"basic","title":"[MODIFY]"}
``` [MODIFY] OVERWRITE_DB = 1 TRUNCATE_SEQUENCE_TABLES = 1 ``` - If ``OVERWRITE_DB`` is set to 1, running this script will cause any existing database with the same [[DATABASE_CORE]](doc:database_core-core) ``NAME`` to be dropped and recreated before any data are imported. - Setting ``TRUNCATE_SEQUENCE_TABLES`` to 1 will truncate any existing sequence tables before importing. - if these values are left unset, additional data will be added to an existing database/sequence table, which may have unintended consequences so proceed with caution. ``` [MODIFY] TRUNCATE_GENE_TABLES = 1 ``` If ``TRUNCATE_GENE_TABLES`` is set, all tables that are associated with specific gene models will be truncated allowing for a fresh import of the data. Otherwise, only additional data will be imported.