Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2017-08-28 22:30:42,783] DEBUG: (0.010)
- SELECT name, type FROM sqlite_master
- WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
- ORDER BY name; args=None
- [2017-08-28 22:30:42,783] DEBUG: (0.010)
- SELECT name, type FROM sqlite_master
- WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
- ORDER BY name; args=None
- [2017-08-28 22:30:42,796] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
- [2017-08-28 22:30:42,796] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
- [2017-08-28 22:30:42,804] DEBUG: (0.003)
- SELECT name, type FROM sqlite_master
- WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
- ORDER BY name; args=None
- [2017-08-28 22:30:42,804] DEBUG: (0.003)
- SELECT name, type FROM sqlite_master
- WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
- ORDER BY name; args=None
- [2017-08-28 22:30:42,811] DEBUG: (0.003) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
- [2017-08-28 22:30:42,811] DEBUG: (0.003) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
- [2017-08-28 22:30:42,900] DEBUG: (0.002)
- SELECT name, type FROM sqlite_master
- WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
- ORDER BY name; args=None
- [2017-08-28 22:30:42,900] DEBUG: (0.002)
- SELECT name, type FROM sqlite_master
- WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
- ORDER BY name; args=None
- [2017-08-28 22:30:42,904] DEBUG: (0.000) PRAGMA foreign_keys = OFF; args=None
- [2017-08-28 22:30:42,904] DEBUG: (0.000) PRAGMA foreign_keys = OFF; args=None
- [2017-08-28 22:30:42,905] DEBUG: (0.000) BEGIN; args=None
- [2017-08-28 22:30:42,905] DEBUG: (0.000) BEGIN; args=None
- [2017-08-28 22:30:42,937] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:42,937] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:42,947] DEBUG: (0.009) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:42,947] DEBUG: (0.009) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [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)
- [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)
- [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
- [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
- [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 ())
- [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 ())
- [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=()
- [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=()
- [2017-08-28 22:30:42,955] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:42,955] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:42,959] DEBUG: (0.002) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:42,959] DEBUG: (0.002) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:42,960] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 22:30:42,960] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 22:30:42,962] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 22:30:42,962] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 22:30:42,963] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 22:30:42,963] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 22:30:42,965] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 22:30:42,965] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [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=()
- [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=()
- [2017-08-28 22:30:43,150] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,150] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,153] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:43,153] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [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)
- [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)
- [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
- [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
- [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 ())
- [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 ())
- [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=()
- [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=()
- [2017-08-28 22:30:43,163] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,163] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,165] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:43,165] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:43,167] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 22:30:43,167] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 22:30:43,170] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 22:30:43,170] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 22:30:43,178] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 22:30:43,178] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 22:30:43,181] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 22:30:43,181] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 22:30:43,248] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,248] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,250] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:43,250] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [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)
- [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)
- [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
- [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
- [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 ())
- [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 ())
- [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=()
- [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=()
- [2017-08-28 22:30:43,259] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,259] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,261] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:43,261] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:43,262] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 22:30:43,262] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 22:30:43,263] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 22:30:43,263] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 22:30:43,264] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 22:30:43,264] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 22:30:43,266] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 22:30:43,266] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 22:30:43,315] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,315] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 22:30:43,320] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [2017-08-28 22:30:43,320] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [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)
- [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)
- [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
- [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
- [2017-08-28 22:30:43,338] DEBUG: (0.000) PRAGMA foreign_keys = ON; args=None
- [2017-08-28 22:30:43,338] DEBUG: (0.000) PRAGMA foreign_keys = ON; args=None
- Operations to perform:
- Apply all migrations: admin, auth, contenttypes, evaluation, grades, rewards, sessions
- Running migrations:
- Applying evaluation.0060_replace_textanswer_id_with_uuid...Traceback (most recent call last):
- File "/vagrant/src/django/django/db/backends/utils.py", line 71, in execute
- return self.cursor.execute(sql)
- File "/vagrant/src/django/django/db/backends/sqlite3/base.py", line 301, in execute
- return Database.Cursor.execute(self, query)
- sqlite3.OperationalError: duplicate column name: id
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "./manage.py", line 10, in <module>
- execute_from_command_line(sys.argv)
- File "/vagrant/src/django/django/core/management/__init__.py", line 366, in execute_from_command_line
- utility.execute()
- File "/vagrant/src/django/django/core/management/__init__.py", line 360, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/vagrant/src/django/django/core/management/base.py", line 289, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/vagrant/src/django/django/core/management/base.py", line 334, in execute
- output = self.handle(*args, **options)
- File "/vagrant/src/django/django/core/management/commands/migrate.py", line 200, in handle
- fake_initial=fake_initial,
- File "/vagrant/src/django/django/db/migrations/executor.py", line 117, in migrate
- state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
- File "/vagrant/src/django/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
- state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
- File "/vagrant/src/django/django/db/migrations/executor.py", line 244, in apply_migration
- state = migration.apply(state, schema_editor)
- File "/vagrant/src/django/django/db/migrations/migration.py", line 122, in apply
- operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
- File "/vagrant/src/django/django/db/migrations/operations/fields.py", line 295, in database_forwards
- to_model._meta.get_field(self.new_name),
- File "/vagrant/src/django/django/db/backends/base/schema.py", line 509, in alter_field
- old_db_params, new_db_params, strict)
- File "/vagrant/src/django/django/db/backends/sqlite3/schema.py", line 255, in _alter_field
- self._remake_table(model, alter_field=(old_field, new_field))
- File "/vagrant/src/django/django/db/backends/sqlite3/schema.py", line 188, in _remake_table
- self.create_model(temp_model)
- File "/vagrant/src/django/django/db/backends/base/schema.py", line 298, in create_model
- self.execute(sql, params or None)
- File "/vagrant/src/django/django/db/backends/base/schema.py", line 117, in execute
- cursor.execute(sql, params)
- File "/vagrant/src/django/django/db/backends/utils.py", line 88, in execute
- return super().execute(sql, params)
- File "/vagrant/src/django/django/db/backends/utils.py", line 73, in execute
- return self.cursor.execute(sql, params)
- File "/vagrant/src/django/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/vagrant/src/django/django/db/backends/utils.py", line 71, in execute
- return self.cursor.execute(sql)
- File "/vagrant/src/django/django/db/backends/sqlite3/base.py", line 301, in execute
- return Database.Cursor.execute(self, query)
- django.db.utils.OperationalError: duplicate column name: id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement