Skip to content

Commit

Permalink
Updated few bits
Browse files Browse the repository at this point in the history
  • Loading branch information
shashi278 committed Jan 10, 2020
1 parent 145d8bd commit d0f0fed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/admin_record.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS admin (
email VARCHAR NOT NULL,
username VARCHAR UNIQUE NOT NULL,
pass PASSWORD NOT NULL,
phone INTEGER,
phone INTEGER,
not_mail VARCHAR,
not_pass PASSWORD
)
2 changes: 1 addition & 1 deletion src/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def create_table(self, table, conn):
cur.execute(table)
except Error as e:
pass
# print("Error in creating table: {}".format(e))

conn.commit()
conn.close()

Expand Down

0 comments on commit d0f0fed

Please # to comment.