diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/sqlite_to_pg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sqlite_to_pg.py b/scripts/sqlite_to_pg.py index a5889d6..29e1317 100644 --- a/scripts/sqlite_to_pg.py +++ b/scripts/sqlite_to_pg.py @@ -176,7 +176,7 @@ if __name__ == '__main__': log('Copying tutor_problem -> problem') copy_table( 'select id, group_id, name, visible from tutor_problem', - 'insert into problem (id, language_id, problem_group_id, name, is_visible, identifier) values (%s, ' + str(_language_prolog_id) + ', %s, %s, %s, %s)', + 'insert into problem (id, language_id, problem_group_id, name, identifier) values (%s, ' + str(_language_prolog_id) + ', %s, %s, %s)', convert_problem, None, 'problem_id_seq') log('Copying tutor_attempt -> solution') |