daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Aug 28th, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ./manage.py migrate evaluation 0060 &> output_migrate_sqlite.txt
  2.  
  3. [2017-08-28 20:56:25,943] DEBUG: (0.011)
  4.             SELECT name, type FROM sqlite_master
  5.             WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  6.             ORDER BY name; args=None
  7. [2017-08-28 20:56:25,943] DEBUG: (0.011)
  8.             SELECT name, type FROM sqlite_master
  9.             WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  10.             ORDER BY name; args=None
  11. [2017-08-28 20:56:25,951] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
  12. [2017-08-28 20:56:25,951] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
  13. [2017-08-28 20:56:25,958] DEBUG: (0.002)
  14.             SELECT name, type FROM sqlite_master
  15.             WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  16.             ORDER BY name; args=None
  17. [2017-08-28 20:56:25,958] DEBUG: (0.002)
  18.             SELECT name, type FROM sqlite_master
  19.             WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
  20.             ORDER BY name; args=None
  21. [2017-08-28 20:56:25,961] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
  22. [2017-08-28 20:56:25,961] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
  23. Operations to perform:
  24.   Target specific migration: 0060_replace_textanswer_id_with_uuid, from evaluation
  25. Running migrations:
  26.   Applying evaluation.0060_replace_textanswer_id_with_uuid...[2017-08-28 20:56:26,057] DEBUG: (0.000) PRAGMA foreign_keys; args=None
  27. [2017-08-28 20:56:26,057] DEBUG: (0.000) PRAGMA foreign_keys; args=None
  28. [2017-08-28 20:56:26,058] DEBUG: (0.000) PRAGMA foreign_keys = 0; args=None
  29. [2017-08-28 20:56:26,058] DEBUG: (0.000) PRAGMA foreign_keys = 0; args=None
  30. [2017-08-28 20:56:26,060] DEBUG: (0.000) BEGIN; args=None
  31. [2017-08-28 20:56:26,060] DEBUG: (0.000) BEGIN; args=None
  32. [2017-08-28 20:56:26,100] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  33. [2017-08-28 20:56:26,100] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  34. [2017-08-28 20:56:26,112] DEBUG: (0.011) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  35. [2017-08-28 20:56:26,112] DEBUG: (0.011) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  36. [2017-08-28 20:56:26,114] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NULL); (params None)
  37. [2017-08-28 20:56:26,114] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NULL); (params None)
  38. [2017-08-28 20:56:26,116] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NULL); args=None
  39. [2017-08-28 20:56:26,116] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NULL); args=None
  40. [2017-08-28 20:56:26,118] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "id", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "id", "contribution_id", "question_id", NULL, "state", "original_answer" FROM "evaluation_textanswer__old"; (params ())
  41. [2017-08-28 20:56:26,118] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "id", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "id", "contribution_id", "question_id", NULL, "state", "original_answer" FROM "evaluation_textanswer__old"; (params ())
  42. [2017-08-28 20:56:26,121] DEBUG: (0.001) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "id", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "id", "contribution_id", "question_id", NULL, "state", "original_answer" FROM "evaluation_textanswer__old"; args=()
  43. [2017-08-28 20:56:26,121] DEBUG: (0.001) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "id", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "id", "contribution_id", "question_id", NULL, "state", "original_answer" FROM "evaluation_textanswer__old"; args=()
  44. [2017-08-28 20:56:26,122] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  45. [2017-08-28 20:56:26,122] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  46. [2017-08-28 20:56:26,128] DEBUG: (0.004) DROP TABLE "evaluation_textanswer__old"; args=()
  47. [2017-08-28 20:56:26,128] DEBUG: (0.004) DROP TABLE "evaluation_textanswer__old"; args=()
  48. [2017-08-28 20:56:26,129] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  49. [2017-08-28 20:56:26,129] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  50. [2017-08-28 20:56:26,131] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  51. [2017-08-28 20:56:26,131] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  52. [2017-08-28 20:56:26,132] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  53. [2017-08-28 20:56:26,132] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  54. [2017-08-28 20:56:26,133] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  55. [2017-08-28 20:56:26,133] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  56. [2017-08-28 20:56:26,266] DEBUG: (0.000) 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=()
  57. [2017-08-28 20:56:26,266] DEBUG: (0.000) 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 20:56:26,312] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  59. [2017-08-28 20:56:26,312] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  60. [2017-08-28 20:56:26,314] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  61. [2017-08-28 20:56:26,314] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  62. [2017-08-28 20:56:26,315] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); (params None)
  63. [2017-08-28 20:56:26,315] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); (params None)
  64. [2017-08-28 20:56:26,316] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); args=None
  65. [2017-08-28 20:56:26,316] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); args=None
  66. [2017-08-28 20:56:26,317] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "id", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "id", "contribution_id", "question_id", coalesce("uuid", '09efbb76905848e89fd16b468994d234'), "state", "original_answer" FROM "evaluation_textanswer__old"; (params ())
  67. [2017-08-28 20:56:26,317] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "id", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "id", "contribution_id", "question_id", coalesce("uuid", '09efbb76905848e89fd16b468994d234'), "state", "original_answer" FROM "evaluation_textanswer__old"; (params ())
  68. [2017-08-28 20:56:26,319] DEBUG: (0.000) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "id", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "id", "contribution_id", "question_id", coalesce("uuid", '09efbb76905848e89fd16b468994d234'), "state", "original_answer" FROM "evaluation_textanswer__old"; args=()
  69. [2017-08-28 20:56:26,319] DEBUG: (0.000) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "id", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "id", "contribution_id", "question_id", coalesce("uuid", '09efbb76905848e89fd16b468994d234'), "state", "original_answer" FROM "evaluation_textanswer__old"; args=()
  70. [2017-08-28 20:56:26,320] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  71. [2017-08-28 20:56:26,320] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  72. [2017-08-28 20:56:26,321] DEBUG: (0.000) DROP TABLE "evaluation_textanswer__old"; args=()
  73. [2017-08-28 20:56:26,321] DEBUG: (0.000) DROP TABLE "evaluation_textanswer__old"; args=()
  74. [2017-08-28 20:56:26,322] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  75. [2017-08-28 20:56:26,322] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  76. [2017-08-28 20:56:26,324] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  77. [2017-08-28 20:56:26,324] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  78. [2017-08-28 20:56:26,324] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  79. [2017-08-28 20:56:26,324] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  80. [2017-08-28 20:56:26,325] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  81. [2017-08-28 20:56:26,325] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  82. [2017-08-28 20:56:26,371] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  83. [2017-08-28 20:56:26,371] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  84. [2017-08-28 20:56:26,373] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  85. [2017-08-28 20:56:26,373] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  86. [2017-08-28 20:56:26,375] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); (params None)
  87. [2017-08-28 20:56:26,375] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); (params None)
  88. [2017-08-28 20:56:26,377] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); args=None
  89. [2017-08-28 20:56:26,377] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "uuid" char(32) NOT NULL); args=None
  90. [2017-08-28 20:56:26,378] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "contribution_id", "question_id", "uuid", "state", "original_answer" FROM "evaluation_textanswer__old"; (params ())
  91. [2017-08-28 20:56:26,378] DEBUG: INSERT INTO "evaluation_textanswer" ("reviewed_answer", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "contribution_id", "question_id", "uuid", "state", "original_answer" FROM "evaluation_textanswer__old"; (params ())
  92. [2017-08-28 20:56:26,379] DEBUG: (0.000) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "contribution_id", "question_id", "uuid", "state", "original_answer" FROM "evaluation_textanswer__old"; args=()
  93. [2017-08-28 20:56:26,379] DEBUG: (0.000) INSERT INTO "evaluation_textanswer" ("reviewed_answer", "contribution_id", "question_id", "uuid", "state", "original_answer") SELECT "reviewed_answer", "contribution_id", "question_id", "uuid", "state", "original_answer" FROM "evaluation_textanswer__old"; args=()
  94. [2017-08-28 20:56:26,380] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  95. [2017-08-28 20:56:26,380] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
  96. [2017-08-28 20:56:26,382] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
  97. [2017-08-28 20:56:26,382] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
  98. [2017-08-28 20:56:26,383] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  99. [2017-08-28 20:56:26,383] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
  100. [2017-08-28 20:56:26,384] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  101. [2017-08-28 20:56:26,384] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
  102. [2017-08-28 20:56:26,385] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  103. [2017-08-28 20:56:26,385] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
  104. [2017-08-28 20:56:26,387] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  105. [2017-08-28 20:56:26,387] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
  106. [2017-08-28 20:56:26,430] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  107. [2017-08-28 20:56:26,430] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
  108. [2017-08-28 20:56:26,433] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  109. [2017-08-28 20:56:26,433] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
  110. [2017-08-28 20:56:26,435] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "id" char(32) NOT NULL); (params None)
  111. [2017-08-28 20:56:26,435] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "id" char(32) NOT NULL); (params None)
  112. [2017-08-28 20:56:26,437] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "id" char(32) NOT NULL); args=None
  113. [2017-08-28 20:56:26,437] 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"), "question_id" integer NOT NULL REFERENCES "evaluation_question" ("id"), "state" varchar(2) NOT NULL, "id" char(32) NOT NULL); args=None
  114. [2017-08-28 20:56:26,448] DEBUG: (0.000) PRAGMA foreign_keys = 0; args=None
  115. [2017-08-28 20:56:26,448] DEBUG: (0.000) PRAGMA foreign_keys = 0; args=None
  116. Traceback (most recent call last):
  117.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
  118.     return self.cursor.execute(sql)
  119.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/sqlite3/base.py", line 326, in execute
  120.     return Database.Cursor.execute(self, query)
  121. sqlite3.OperationalError: duplicate column name: id
  122.  
  123. The above exception was the direct cause of the following exception:
  124.  
  125. Traceback (most recent call last):
  126.   File "./manage.py", line 10, in <module>
  127.     execute_from_command_line(sys.argv)
  128.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
  129.     utility.execute()
  130.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/__init__.py", line 355, in execute
  131.     self.fetch_command(subcommand).run_from_argv(self.argv)
  132.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/base.py", line 283, in run_from_argv
  133.     self.execute(*args, **cmd_options)
  134.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/base.py", line 330, in execute
  135.     output = self.handle(*args, **options)
  136.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/commands/migrate.py", line 204, in handle
  137.     fake_initial=fake_initial,
  138.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/executor.py", line 115, in migrate
  139.     state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  140.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
  141.     state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  142.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
  143.     state = migration.apply(state, schema_editor)
  144.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/migration.py", line 129, in apply
  145.     operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  146.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/operations/fields.py", line 299, in database_forwards
  147.     to_model._meta.get_field(self.new_name),
  148.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/base/schema.py", line 514, in alter_field
  149.     old_db_params, new_db_params, strict)
  150.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/sqlite3/schema.py", line 262, in _alter_field
  151.     self._remake_table(model, alter_field=(old_field, new_field))
  152.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/sqlite3/schema.py", line 198, in _remake_table
  153.     self.create_model(temp_model)
  154.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/base/schema.py", line 303, in create_model
  155.     self.execute(sql, params or None)
  156.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/base/schema.py", line 120, in execute
  157.     cursor.execute(sql, params)
  158.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/utils.py", line 80, in execute
  159.     return super(CursorDebugWrapper, self).execute(sql, params)
  160.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
  161.     return self.cursor.execute(sql, params)
  162.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
  163.     six.reraise(dj_exc_type, dj_exc_value, traceback)
  164.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/utils/six.py", line 685, in reraise
  165.     raise value.with_traceback(tb)
  166.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
  167.     return self.cursor.execute(sql)
  168.   File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/sqlite3/base.py", line 326, in execute
  169.     return Database.Cursor.execute(self, query)
  170. django.db.utils.OperationalError: duplicate column name: id
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top