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

Generated SQL Files don't include indexes #203

Open
acrosman opened this issue Apr 23, 2023 · 0 comments
Open

Generated SQL Files don't include indexes #203

acrosman opened this issue Apr 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@acrosman
Copy link
Owner

Describe the bug
When saving SQL files, the create index statements are missing.

To Reproduce
Steps to reproduce the behavior:

  1. Select an object to save to schema SQL file.
  2. Proceed through steps to create tables, but intentionally fail to connect to the database (MySQL at least, probably also others)
  3. Save to SQL.
  4. SQL file will have create table statement, but no indexes.

Expected behavior
SQL File should have all statements that would have been attempted to generate the table.

Additional context
There may be other differences between the generated statements and what gets run when connected. It's possible this is an issue in the underlying calls from Knex.

@acrosman acrosman added the bug Something isn't working label Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant