Add check "if not exists" to table creation statements.