Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./manage.py migrate evaluation 0060 &> output_migrate_sqlite.txt
- [2017-08-28 20:56:25,943] DEBUG: (0.011)
- SELECT name, type FROM sqlite_master
- WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
- ORDER BY name; args=None
- [2017-08-28 20:56:25,943] DEBUG: (0.011)
- SELECT name, type FROM sqlite_master
- WHERE type in ('table', 'view') AND NOT name='sqlite_sequence'
- ORDER BY name; args=None
- [2017-08-28 20:56:25,951] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
- [2017-08-28 20:56:25,951] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
- [2017-08-28 20:56:25,958] 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 20:56:25,958] 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 20:56:25,961] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
- [2017-08-28 20:56:25,961] DEBUG: (0.002) SELECT "django_migrations"."app", "django_migrations"."name" FROM "django_migrations"; args=()
- Operations to perform:
- Target specific migration: 0060_replace_textanswer_id_with_uuid, from evaluation
- Running migrations:
- Applying evaluation.0060_replace_textanswer_id_with_uuid...[2017-08-28 20:56:26,057] DEBUG: (0.000) PRAGMA foreign_keys; args=None
- [2017-08-28 20:56:26,057] DEBUG: (0.000) PRAGMA foreign_keys; args=None
- [2017-08-28 20:56:26,058] DEBUG: (0.000) PRAGMA foreign_keys = 0; args=None
- [2017-08-28 20:56:26,058] DEBUG: (0.000) PRAGMA foreign_keys = 0; args=None
- [2017-08-28 20:56:26,060] DEBUG: (0.000) BEGIN; args=None
- [2017-08-28 20:56:26,060] DEBUG: (0.000) BEGIN; args=None
- [2017-08-28 20:56:26,100] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,100] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,112] DEBUG: (0.011) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,112] DEBUG: (0.011) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [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)
- [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)
- [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
- [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
- [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 ())
- [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 ())
- [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=()
- [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=()
- [2017-08-28 20:56:26,122] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,122] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,128] DEBUG: (0.004) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,128] DEBUG: (0.004) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,129] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 20:56:26,129] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 20:56:26,131] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 20:56:26,131] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 20:56:26,132] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 20:56:26,132] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 20:56:26,133] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 20:56:26,133] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [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=()
- [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=()
- [2017-08-28 20:56:26,312] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,312] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,314] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,314] DEBUG: (0.000) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [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)
- [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)
- [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
- [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
- [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 ())
- [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 ())
- [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=()
- [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=()
- [2017-08-28 20:56:26,320] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,320] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,321] DEBUG: (0.000) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,321] DEBUG: (0.000) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,322] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 20:56:26,322] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 20:56:26,324] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 20:56:26,324] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 20:56:26,324] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 20:56:26,324] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 20:56:26,325] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 20:56:26,325] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 20:56:26,371] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,371] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,373] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,373] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [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)
- [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)
- [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
- [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
- [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 ())
- [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 ())
- [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=()
- [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=()
- [2017-08-28 20:56:26,380] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,380] DEBUG: DROP TABLE "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,382] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,382] DEBUG: (0.001) DROP TABLE "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,383] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 20:56:26,383] DEBUG: CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); (params ())
- [2017-08-28 20:56:26,384] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 20:56:26,384] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_contribution_id_c0595959" ON "evaluation_textanswer" ("contribution_id"); args=()
- [2017-08-28 20:56:26,385] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 20:56:26,385] DEBUG: CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); (params ())
- [2017-08-28 20:56:26,387] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 20:56:26,387] DEBUG: (0.000) CREATE INDEX "evaluation_textanswer_question_id_c88b91f1" ON "evaluation_textanswer" ("question_id"); args=()
- [2017-08-28 20:56:26,430] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,430] DEBUG: ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; (params ())
- [2017-08-28 20:56:26,433] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [2017-08-28 20:56:26,433] DEBUG: (0.001) ALTER TABLE "evaluation_textanswer" RENAME TO "evaluation_textanswer__old"; args=()
- [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)
- [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)
- [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
- [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
- [2017-08-28 20:56:26,448] DEBUG: (0.000) PRAGMA foreign_keys = 0; args=None
- [2017-08-28 20:56:26,448] DEBUG: (0.000) PRAGMA foreign_keys = 0; args=None
- Traceback (most recent call last):
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
- return self.cursor.execute(sql)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/sqlite3/base.py", line 326, 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 "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
- utility.execute()
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/__init__.py", line 355, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/base.py", line 283, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/base.py", line 330, in execute
- output = self.handle(*args, **options)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/core/management/commands/migrate.py", line 204, in handle
- fake_initial=fake_initial,
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/executor.py", line 115, in migrate
- state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
- state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
- state = migration.apply(state, schema_editor)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/migration.py", line 129, in apply
- operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/migrations/operations/fields.py", line 299, in database_forwards
- to_model._meta.get_field(self.new_name),
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/base/schema.py", line 514, in alter_field
- old_db_params, new_db_params, strict)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/sqlite3/schema.py", line 262, in _alter_field
- self._remake_table(model, alter_field=(old_field, new_field))
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/sqlite3/schema.py", line 198, in _remake_table
- self.create_model(temp_model)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/base/schema.py", line 303, in create_model
- self.execute(sql, params or None)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/base/schema.py", line 120, in execute
- cursor.execute(sql, params)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/utils.py", line 80, in execute
- return super(CursorDebugWrapper, self).execute(sql, params)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
- return self.cursor.execute(sql, params)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
- six.reraise(dj_exc_type, dj_exc_value, traceback)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/utils/six.py", line 685, in reraise
- raise value.with_traceback(tb)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
- return self.cursor.execute(sql)
- File "/home/vagrant/.local/lib/python3.4/site-packages/django/db/backends/sqlite3/base.py", line 326, 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