Skip to content

Commit

Permalink
changed release version in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tech-kev committed Dec 8, 2023
1 parent bd97ad4 commit 85c00a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/database/db_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def import_from_csv(self, mode="normal"):
self.cursor.executemany(query, data[1:]) # Pass data starting from the second row
counter += 1

if table_name == 'settings': # Since Version 1.1.1 there is a new setting. If it isn't in the import-file, we add it here.
if table_name == 'settings': # Since Version 1.2.0 there is a new setting. If it isn't in the import-file, we add it here.
query = "INSERT IGNORE INTO `settings` (`id`, `option`, `value`, `specialvalue`, `dateCreated`, `dateModified`) VALUES (%s, %s, %s, %s, %s, %s)"
values = (10, 'wedding_date', '', '', '2023-09-29 22:10:08', '2023-10-03 21:04:29')
self.cursor.execute(query, values)
Expand Down

0 comments on commit 85c00a5

Please sign in to comment.