summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-10-12 12:02:43 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-10-12 12:04:00 +0200
commit0850ea13c19d4f2a382fd7d4bcf6333f446fa68b (patch)
treeeac97facaf39d8a79a068b1c90279c3d069431f0 /scripts
parent7ab74a08a68bcb3afce03b089e57df5aff66bdd9 (diff)
Drop is_visible column from problem table
Diffstat (limited to 'scripts')
-rw-r--r--scripts/sqlite_to_pg.py2
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')