Skip to content

Commit 3139a22

Browse files
author
Sebastian Raschka
committed
Update create_db.py
1 parent 685bcd9 commit 3139a22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlite3/create_db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# create table
1111
c.execute('''CREATE TABLE zinc_db1
12-
(zinc_id TEXT, purchasable TEXT, non_rot_bonds INT)''')
12+
(zinc_id PRIMARY KEY, purchasable TEXT, non_rot_bonds INT)''')
1313

1414
# Insert one row of data
1515
c.execute("INSERT INTO zinc_db1 VALUES ('ZINC00895032','YES', 4)")

0 commit comments

Comments
 (0)