LordSputnik

Alembic Existing Table Error

Mar 9th, 2015
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.46 KB | None | 0 0
  1. List of relations
  2. Schema | Name | Type | Owner
  3. ------------+--------------------+-------+-------------
  4. bookbrainz | alias | table | musicbrainz
  5. bookbrainz | annotation | table | musicbrainz
  6. bookbrainz | creator_data | table | musicbrainz
  7. bookbrainz | creator_type | table | musicbrainz
  8. bookbrainz | disambiguation | table | musicbrainz
  9. bookbrainz | edit | table | musicbrainz
  10. bookbrainz | edit_note | table | musicbrainz
  11. bookbrainz | edit_revision | table | musicbrainz
  12. bookbrainz | edition_data | table | musicbrainz
  13. bookbrainz | edition_status | table | musicbrainz
  14. bookbrainz | editor_language | table | musicbrainz
  15. bookbrainz | editor_stats | table | musicbrainz
  16. bookbrainz | entity | table | musicbrainz
  17. bookbrainz | entity_data | table | musicbrainz
  18. bookbrainz | entity_redirect | table | musicbrainz
  19. bookbrainz | entity_revision | table | musicbrainz
  20. bookbrainz | entity_tree | table | musicbrainz
  21. bookbrainz | entity_tree_alias | table | musicbrainz
  22. bookbrainz | inactive_users | table | musicbrainz
  23. bookbrainz | message | table | musicbrainz
  24. bookbrainz | message_receipt | table | musicbrainz
  25. bookbrainz | oauth_client | table | musicbrainz
  26. bookbrainz | publication_data | table | musicbrainz
  27. bookbrainz | publication_type | table | musicbrainz
  28. bookbrainz | publisher_data | table | musicbrainz
  29. bookbrainz | publisher_type | table | musicbrainz
  30. bookbrainz | rel | table | musicbrainz
  31. bookbrainz | rel_entity | table | musicbrainz
  32. bookbrainz | rel_revision | table | musicbrainz
  33. bookbrainz | rel_text | table | musicbrainz
  34. bookbrainz | rel_tree | table | musicbrainz
  35. bookbrainz | rel_type | table | musicbrainz
  36. bookbrainz | revision | table | musicbrainz
  37. bookbrainz | suspended_users | table | musicbrainz
  38. bookbrainz | user | table | musicbrainz
  39. bookbrainz | user_type | table | musicbrainz
  40. bookbrainz | work_data | table | musicbrainz
  41. bookbrainz | work_data_language | table | musicbrainz
  42. bookbrainz | work_type | table | musicbrainz
  43.  
  44. $ alembic revision --autogenerate -m "Test"
  45. INFO [alembic.migration] Context impl PostgresqlImpl.
  46. INFO [alembic.migration] Will assume transactional DDL.
  47. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.edition_status'
  48. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.work_type'
  49. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.entity'
  50. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.entity_data'
  51. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.annotation'
  52. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.rel_type'
  53. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.user_type'
  54. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.disambiguation'
  55. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.creator_type'
  56. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.publisher_type'
  57. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.publication_type'
  58. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.entity_redirect'
  59. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.publication_data'
  60. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.user'
  61. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.publisher_data'
  62. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.alias'
  63. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.work_data'
  64. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.creator_data'
  65. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.edition_data'
  66. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.rel_tree'
  67. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.revision'
  68. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.work_data_language'
  69. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.entity_tree'
  70. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.oauth_client'
  71. INFO [alembic.autogenerate.compare] Detected added index 'ix_bookbrainz_oauth_client_client_secret' on '['client_secret']'
  72. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.editor_language'
  73. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.editor_stats'
  74. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.suspended_users'
  75. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.message'
  76. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.rel_entity'
  77. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.inactive_users'
  78. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.edit'
  79. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.rel_text'
  80. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.entity_revision'
  81. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.entity_tree_alias'
  82. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.edit_revision'
  83. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.message_receipt'
  84. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.rel'
  85. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.edit_note'
  86. INFO [alembic.autogenerate.compare] Detected added table u'bookbrainz.rel_revision'
  87. INFO [alembic.ddl.postgresql] Detected sequence named 'gender_id_seq' as owned by integer column 'gender(id)', assuming SERIAL and omitting
  88. INFO [alembic.ddl.postgresql] Detected sequence named 'language_id_seq' as owned by integer column 'language(id)', assuming SERIAL and omitting
  89. INFO [alembic.autogenerate.compare] Detected NOT NULL on column 'gender.child_order'
  90. INFO [alembic.autogenerate.compare] Detected removed foreign key (parent_id)(id) on table gender
  91. INFO [alembic.autogenerate.compare] Detected added foreign key (parent_id)(id) on table musicbrainz.gender
  92. Generating /home/ben/code/bookbrainz/schema/alembic/versions/343d073e28a4_test.py ... done
Advertisement
Add Comment
Please, Sign In to add comment