Skip to content

Commit 7ddadf4

Browse files
Eduard Čubaj-mracek
authored andcommitted
[transformer]: drop unused columns from REPO table
1 parent 4fb885f commit 7ddadf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnf/db/swdb_transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def bind_repo(cursor, name):
178178
cursor.execute('SELECT R_ID FROM REPO WHERE name=?', (name, ))
179179
rid = cursor.fetchone()
180180
if rid is None:
181-
cursor.execute('INSERT INTO REPO VALUES(null,?,0,0)', (name, ))
181+
cursor.execute('INSERT INTO REPO VALUES(null,?)', (name, ))
182182
cursor.execute('SELECT last_insert_rowid()')
183183
rid = cursor.fetchone()
184184
repo_dict[name] = rid[0]

0 commit comments

Comments
 (0)