You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no other issue that already describes my problem.
Describe the Bug
After several changes in my database schema on localhost, I tried to generate snapshot and deploy it on my server, where run my live application with production database.
After deploy and install same version of Directus, I got issue with apply snapshot..
Generate snapshot by npx directus schema apply ./snapshot.yaml
Deploy snapshot on server
Run npx directus schema snapshot ./snapshot.yaml
Got error
Errors Shown
Cannot read property 'COLUMN_TYPE' of undefined
TypeError: Cannot read property 'COLUMN_TYPE' of undefined
at rawColumnToColumn (/var/www/vhosts/skoleni365.cz/cms.skoleni365.cz/node_modules/knex-schema-inspector/dist/dialects/mysql.js:53:30)
at MySQL.<anonymous> (/var/www/vhosts/skoleni365.cz/cms.skoleni365.cz/node_modules/knex-schema-inspector/dist/dialects/mysql.js:241:47)
at step (/var/www/vhosts/skoleni365.cz/cms.skoleni365.cz/node_modules/knex-schema-inspector/dist/dialects/mysql.js:44:23)
at Object.next (/var/www/vhosts/skoleni365.cz/cms.skoleni365.cz/node_modules/knex-schema-inspector/dist/dialects/mysql.js:25:53)
at fulfilled (/var/www/vhosts/skoleni365.cz/cms.skoleni365.cz/node_modules/knex-schema-inspector/dist/dialects/mysql.js:16:58)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
What version of Directus are you using?
9.2.1
What version of Node.js are you using?
14.18.2
What database are you using?
MariaDB 13.3.28
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying Directus?
Plesk
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the Bug
After several changes in my database schema on localhost, I tried to generate snapshot and deploy it on my server, where run my live application with production database.
After deploy and install same version of Directus, I got issue with apply snapshot..
My snapshot is here: https://codeshare.io/DZvE0Z
To Reproduce
Errors Shown
What version of Directus are you using?
9.2.1
What version of Node.js are you using?
14.18.2
What database are you using?
MariaDB 13.3.28
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying Directus?
Plesk
The text was updated successfully, but these errors were encountered: