Commit 427a7c4b authored by Francisco Arcila Salamanca's avatar Francisco Arcila Salamanca
Browse files

uncomment raise statement for db duplicate

parent e4c10062
......@@ -23,7 +23,7 @@ def safe_create_schema(db: MySQLcon, project_name: str) -> None:
logger.error(f"{project_name} is already in the database")
# raise NameError(f"Database `{project_name}` already exists")
raise NameError(f"Database `{project_name}` already exists")
# Create database scheme
c.execute(f"CREATE SCHEMA IF NOT EXISTS {project_name};")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment