Open ishioni opened 4 days ago
same for me on PostgreSQL 16.4
Is one of you able to edit this file: https://github.com/morpheus65535/bazarr/blob/master/migrations/versions/b183a2ac0dd1_.py#L24
And replace with this:
batch_op.alter_column('originalFormat', type_=sa.Integer(), postgresql_using='originalFormat::integer')
Restart Bazarr and let me know if ti fixes the issue. Thanks!
Is one of you able to edit this file: https://github.com/morpheus65535/bazarr/blob/master/migrations/versions/b183a2ac0dd1_.py#L24
And replace with this:
batch_op.alter_column('originalFormat', type_=sa.Integer(), postgresql_using='originalFormat::integer')
Restart Bazarr and let me know if ti fixes the issue. Thanks!
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedColumn) column "originalformat" does not exist
LINE 1: ... ALTER COLUMN "originalFormat" TYPE INTEGER USING originalFo...
^
HINT: Perhaps you meant to reference the column "table_languages_profiles.originalFormat".
[SQL: ALTER TABLE table_languages_profiles ALTER COLUMN "originalFormat" TYPE INTEGER USING originalFormat::integer]
(Background on this error at: https://sqlalche.me/e/20/f405)
And if you use this instead in the file?
batch_op.alter_column('originalFormat', type_=sa.Integer(), postgresql_using='table_languages_profiles.originalFormat::integer')
Thanks for testing out, I don't have a postgresql instance to test this. If it doesn't works, I'll deploy one but I would better use my spare time else where for the moment ;-)
Is one of you able to edit this file: https://github.com/morpheus65535/bazarr/blob/master/migrations/versions/b183a2ac0dd1_.py#L24 And replace with this:
batch_op.alter_column('originalFormat', type_=sa.Integer(), postgresql_using='originalFormat::integer')
Restart Bazarr and let me know if ti fixes the issue. Thanks!sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedColumn) column "originalformat" does not exist LINE 1: ... ALTER COLUMN "originalFormat" TYPE INTEGER USING originalFo... ^ HINT: Perhaps you meant to reference the column "table_languages_profiles.originalFormat". [SQL: ALTER TABLE table_languages_profiles ALTER COLUMN "originalFormat" TYPE INTEGER USING originalFormat::integer] (Background on this error at: https://sqlalche.me/e/20/f405)
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedColumn) column table_languages_profiles.originalformat does not exist
LINE 1: ... ALTER COLUMN "originalFormat" TYPE INTEGER USING table_lang...
^
HINT: Perhaps you meant to reference the column "table_languages_profiles.originalFormat".
[SQL: ALTER TABLE table_languages_profiles ALTER COLUMN "originalFormat" TYPE INTEGER USING table_languages_profiles.originalFormat::integer]
(Background on this error at: https://sqlalche.me/e/20/f405)
Describe the bug Upgrading from 1.4.3 to 1.4.4 throws a postgresql error during migrations. Postgres is 16.2