Advertisement
Guest User

Untitled

a guest
Aug 28th, 2017
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.06 KB | None | 0 0
  1. [2017-08-28 22:30:42,783] DEBUG: (0.010)
  2. SELECT name, type FROM sqlite_master
  3. WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  4. ORDER BY name; args=None
  5. [2017-08-28 22:30:42,783] DEBUG: (0.010)
  6. SELECT name, type FROM sqlite_master
  7. WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  8. ORDER BY name; args=None
  9. [2017-08-28 22:30:42,796] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
  10. [2017-08-28 22:30:42,796] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
  11. [2017-08-28 22:30:42,804] DEBUG: (0.003)
  12. SELECT name, type FROM sqlite_master
  13. WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  14. ORDER BY name; args=None
  15. [2017-08-28 22:30:42,804] DEBUG: (0.003)
  16. SELECT name, type FROM sqlite_master
  17. WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  18. ORDER BY name; args=None
  19. [2017-08-28 22:30:42,811] DEBUG: (0.003) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
  20. [2017-08-28 22:30:42,811] DEBUG: (0.003) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
  21. [2017-08-28 22:30:42,900] DEBUG: (0.002)
  22. SELECT name, type FROM sqlite_master
  23. WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  24. ORDER BY name; args=None
  25. [2017-08-28 22:30:42,900] DEBUG: (0.002)
  26. SELECT name, type FROM sqlite_master
  27. WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  28. ORDER BY name; args=None
  29. [2017-08-28 22:30:42,904] DEBUG: (0.000) PRAGMA foreign_keys = OFF; args=None
  30. [2017-08-28 22:30:42,904] DEBUG: (0.000) PRAGMA foreign_keys = OFF; args=None
  31. [2017-08-28 22:30:42,905] DEBUG: (0.000) BEGIN; args=None
  32. [2017-08-28 22:30:42,905] DEBUG: (0.000) BEGIN; args=None
  33. [2017-08-28 22:30:42,937] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  34. [2017-08-28 22:30:42,937] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  35. [2017-08-28 22:30:42,947] DEBUG: (0.009) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  36. [2017-08-28 22:30:42,947] DEBUG: (0.009) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  37. [2017-08-28 22:30:42,949] DEBUG: CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NULL); (params None)
  38. [2017-08-28 22:30:42,949] DEBUG: CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NULL); (params None)
  39. [2017-08-28 22:30:42,950] DEBUG: (0.000) CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NULL); args=None
  40. [2017-08-28 22:30:42,950] DEBUG: (0.000) CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NULL); args=None
  41. [2017-08-28 22:30:42,952] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "id", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", NULL, "id", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; (params ())
  42. [2017-08-28 22:30:42,952] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "id", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", NULL, "id", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; (params ())
  43. [2017-08-28 22:30:42,954] DEBUG: (0.001) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "id", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", NULL, "id", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; args=()
  44. [2017-08-28 22:30:42,954] DEBUG: (0.001) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "id", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", NULL, "id", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; args=()
  45. [2017-08-28 22:30:42,955] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  46. [2017-08-28 22:30:42,955] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  47. [2017-08-28 22:30:42,959] DEBUG: (0.002) DROP TABLE "evaluation_textanswer__old"; args=()
  48. [2017-08-28 22:30:42,959] DEBUG: (0.002) DROP TABLE "evaluation_textanswer__old"; args=()
  49. [2017-08-28 22:30:42,960] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  50. [2017-08-28 22:30:42,960] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  51. [2017-08-28 22:30:42,962] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  52. [2017-08-28 22:30:42,962] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  53. [2017-08-28 22:30:42,963] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  54. [2017-08-28 22:30:42,963] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  55. [2017-08-28 22:30:42,965] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  56. [2017-08-28 22:30:42,965] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  57. [2017-08-28 22:30:43,085] DEBUG: (0.001) SELECT "evaluation_textanswer"."id", "evaluation_textanswer"."reviewed_answer", "evaluation_textanswer"."original_answer", "evaluation_textanswer"."contribution_id", "evaluation_textanswer"."question_id", "evaluation_textanswer"."state", "evaluation_textanswer"."uuid" FROM "evaluation_textanswer"; args=()
  58. [2017-08-28 22:30:43,085] DEBUG: (0.001) SELECT "evaluation_textanswer"."id", "evaluation_textanswer"."reviewed_answer", "evaluation_textanswer"."original_answer", "evaluation_textanswer"."contribution_id", "evaluation_textanswer"."question_id", "evaluation_textanswer"."state", "evaluation_textanswer"."uuid" FROM "evaluation_textanswer"; args=()
  59. [2017-08-28 22:30:43,150] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  60. [2017-08-28 22:30:43,150] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  61. [2017-08-28 22:30:43,153] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  62. [2017-08-28 22:30:43,153] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  63. [2017-08-28 22:30:43,156] DEBUG: CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); (params None)
  64. [2017-08-28 22:30:43,156] DEBUG: CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); (params None)
  65. [2017-08-28 22:30:43,157] DEBUG: (0.000) CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); args=None
  66. [2017-08-28 22:30:43,157] DEBUG: (0.000) CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); args=None
  67. [2017-08-28 22:30:43,159] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "id", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", coalesce("uuid", '6dc5d20111fa483eb7f90ef8cad8baba'), "id", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; (params ())
  68. [2017-08-28 22:30:43,159] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "id", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", coalesce("uuid", '6dc5d20111fa483eb7f90ef8cad8baba'), "id", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; (params ())
  69. [2017-08-28 22:30:43,162] DEBUG: (0.000) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "id", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", coalesce("uuid", '6dc5d20111fa483eb7f90ef8cad8baba'), "id", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; args=()
  70. [2017-08-28 22:30:43,162] DEBUG: (0.000) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "id", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", coalesce("uuid", '6dc5d20111fa483eb7f90ef8cad8baba'), "id", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; args=()
  71. [2017-08-28 22:30:43,163] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  72. [2017-08-28 22:30:43,163] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  73. [2017-08-28 22:30:43,165] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
  74. [2017-08-28 22:30:43,165] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
  75. [2017-08-28 22:30:43,167] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  76. [2017-08-28 22:30:43,167] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  77. [2017-08-28 22:30:43,170] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  78. [2017-08-28 22:30:43,170] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  79. [2017-08-28 22:30:43,178] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  80. [2017-08-28 22:30:43,178] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  81. [2017-08-28 22:30:43,181] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  82. [2017-08-28 22:30:43,181] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  83. [2017-08-28 22:30:43,248] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  84. [2017-08-28 22:30:43,248] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  85. [2017-08-28 22:30:43,250] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  86. [2017-08-28 22:30:43,250] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  87. [2017-08-28 22:30:43,252] DEBUG: CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); (params None)
  88. [2017-08-28 22:30:43,252] DEBUG: CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); (params None)
  89. [2017-08-28 22:30:43,254] DEBUG: (0.000) CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); args=None
  90. [2017-08-28 22:30:43,254] DEBUG: (0.000) CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); args=None
  91. [2017-08-28 22:30:43,256] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", "uuid", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; (params ())
  92. [2017-08-28 22:30:43,256] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", "uuid", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; (params ())
  93. [2017-08-28 22:30:43,258] DEBUG: (0.000) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", "uuid", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; args=()
  94. [2017-08-28 22:30:43,258] DEBUG: (0.000) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "original_answer", "uuid", "contribution_id", "question_id", "state") SELECT "reviewed_answer", "original_answer", "uuid", "contribution_id", "question_id", "state" FROM "evaluation_textanswer__old"; args=()
  95. [2017-08-28 22:30:43,259] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  96. [2017-08-28 22:30:43,259] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  97. [2017-08-28 22:30:43,261] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
  98. [2017-08-28 22:30:43,261] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
  99. [2017-08-28 22:30:43,262] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  100. [2017-08-28 22:30:43,262] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  101. [2017-08-28 22:30:43,263] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  102. [2017-08-28 22:30:43,263] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  103. [2017-08-28 22:30:43,264] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  104. [2017-08-28 22:30:43,264] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  105. [2017-08-28 22:30:43,266] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  106. [2017-08-28 22:30:43,266] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  107. [2017-08-28 22:30:43,315] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  108. [2017-08-28 22:30:43,315] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  109. [2017-08-28 22:30:43,320] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  110. [2017-08-28 22:30:43,320] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  111. [2017-08-28 22:30:43,323] DEBUG: CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "id" char(32) NOT NULL); (params None)
  112. [2017-08-28 22:30:43,323] DEBUG: CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "id" char(32) NOT NULL); (params None)
  113. [2017-08-28 22:30:43,324] DEBUG: (0.000) CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "id" char(32) NOT NULL); args=None
  114. [2017-08-28 22:30:43,324] DEBUG: (0.000) CREATE TABLE "evaluation_textanswer" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "reviewed_answer" text NULL, "original_answer" text NOT NULL, "contribution_id" integer NOT NULL REFERENCES "evaluation_contribution" ("id") DEFERRABLE INITIALLY DEFERRED, "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id") DEFERRABLE INITIALLY DEFERRED, "state" varchar(2) NOT NULL, "id" char(32) NOT NULL); args=None
  115. [2017-08-28 22:30:43,338] DEBUG: (0.000) PRAGMA foreign_keys = ON; args=None
  116. [2017-08-28 22:30:43,338] DEBUG: (0.000) PRAGMA foreign_keys = ON; args=None
  117. Operations to perform:
  118. Apply all migrations: admin, auth, contenttypes, evaluation, grades, rewards, sessions
  119. Running migrations:
  120. Applying evaluation.0060_replace_textanswer_id_with_uuid...Traceback (most recent call last):
  121. File "/vagrant/src/django/django/db/backends/utils.py", line 71, in execute
  122. return self.cursor.execute(sql)
  123. File "/vagrant/src/django/django/db/backends/sqlite3/base.py", line 301, in execute
  124. return Database.Cursor.execute(self, query)
  125. sqlite3.OperationalError: duplicate column name: id
  126.  
  127. The above exception was the direct cause of the following exception:
  128.  
  129. Traceback (most recent call last):
  130. File "./manage.py", line 10, in <module>
  131. execute_from_command_line(sys.argv)
  132. File "/vagrant/src/django/django/core/management/__init__.py", line 366, in execute_from_command_line
  133. utility.execute()
  134. File "/vagrant/src/django/django/core/management/__init__.py", line 360, in execute
  135. self.fetch_command(subcommand).run_from_argv(self.argv)
  136. File "/vagrant/src/django/django/core/management/base.py", line 289, in run_from_argv
  137. self.execute(*args, **cmd_options)
  138. File "/vagrant/src/django/django/core/management/base.py", line 334, in execute
  139. output = self.handle(*args, **options)
  140. File "/vagrant/src/django/django/core/management/commands/migrate.py", line 200, in handle
  141. fake_initial=fake_initial,
  142. File "/vagrant/src/django/django/db/migrations/executor.py", line 117, in migrate
  143. state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  144. File "/vagrant/src/django/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
  145. state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  146. File "/vagrant/src/django/django/db/migrations/executor.py", line 244, in apply_migration
  147. state = migration.apply(state, schema_editor)
  148. File "/vagrant/src/django/django/db/migrations/migration.py", line 122, in apply
  149. operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  150. File "/vagrant/src/django/django/db/migrations/operations/fields.py", line 295, in database_forwards
  151. to_model._meta.get_field(self.new_name),
  152. File "/vagrant/src/django/django/db/backends/base/schema.py", line 509, in alter_field
  153. old_db_params, new_db_params, strict)
  154. File "/vagrant/src/django/django/db/backends/sqlite3/schema.py", line 255, in _alter_field
  155. self._remake_table(model, alter_field=(old_field, new_field))
  156. File "/vagrant/src/django/django/db/backends/sqlite3/schema.py", line 188, in _remake_table
  157. self.create_model(temp_model)
  158. File "/vagrant/src/django/django/db/backends/base/schema.py", line 298, in create_model
  159. self.execute(sql, params or None)
  160. File "/vagrant/src/django/django/db/backends/base/schema.py", line 117, in execute
  161. cursor.execute(sql, params)
  162. File "/vagrant/src/django/django/db/backends/utils.py", line 88, in execute
  163. return super().execute(sql, params)
  164. File "/vagrant/src/django/django/db/backends/utils.py", line 73, in execute
  165. return self.cursor.execute(sql, params)
  166. File "/vagrant/src/django/django/db/utils.py", line 89, in __exit__
  167. raise dj_exc_value.with_traceback(traceback) from exc_value
  168. File "/vagrant/src/django/django/db/backends/utils.py", line 71, in execute
  169. return self.cursor.execute(sql)
  170. File "/vagrant/src/django/django/db/backends/sqlite3/base.py", line 301, in execute
  171. return Database.Cursor.execute(self, query)
  172. django.db.utils.OperationalError: duplicate column name: id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement