Mysql database tables not created #2967
Unanswered
ahmedrhuma
asked this question in
Q&A
Replies: 1 comment 1 reply
-
When generating a new application or adding a migration the migrations have to be run via
This will create the tables (if they don't exist yet) and run all other migrations. Also see https://feathersjs.com/guides/cli/knexfile.html#migrations |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created application using CLI all good, but the tables are not created, I get the error from mysql that insert into table xxx is not exists.
created new service using CLI also the table is not created, i used migration:make then I deleted the produced migration file. After that all the migration:make files are empty in both up and down functions.
it is so sad to create the tables manually actually.
Beta Was this translation helpful? Give feedback.
All reactions