Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filesize BigInteger migration fails Oracle #6721

Closed
aidenfoxx opened this issue Jul 8, 2021 · 0 comments
Closed

Filesize BigInteger migration fails Oracle #6721

aidenfoxx opened this issue Jul 8, 2021 · 0 comments
Labels

Comments

@aidenfoxx
Copy link
Contributor

Describe the Bug

When migrating the filesize field from Integer to BigInteger, OracleDB throws the following exception:

✨ Applying Change Filesize Bigint...
[Error: alter table "directus_files" modify "filesize" number(20, 0) default null null - ORA-01440: column to be modified must be empty to decrease precision or scale] 

This seems similar to #5462.

To Reproduce

Run migrations against Oracle with existing records in the directus_files table.

What version of Directus are you using?

#f64ad33

What version of Node.js are you using?

v16.4.2

What database are you using?

Oracle 16

What browser are you using?

N/A

What operating system are you using?

Ubuntu 20.04

How are you deploying Directus?

Local

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants