Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswebb09 committed Dec 15, 2023
1 parent 2ce5a02 commit ce181c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DirectReport/models/team_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ def __init__(self, db_name="team.db"):

def create_table(self):
cursor = self.conn.cursor()
cursor.execute("""CREATE TABLE IF NOT EXISTS team (
cursor.execute(
"""CREATE TABLE IF NOT EXISTS team (
id TEXT UNIQUE NOT NULL PRIMARY KEY,
team_name TEXT NOT NULL,
team_email TEXT NOT NULL
)""")
)"""
)

def insert_team(self, team_name, team_email):
cursor = self.conn.cursor()
Expand Down

0 comments on commit ce181c6

Please sign in to comment.