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

SQLite Implementation #136

Open
1 task
michaelma7 opened this issue Jun 7, 2024 · 0 comments
Open
1 task

SQLite Implementation #136

michaelma7 opened this issue Jun 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@michaelma7
Copy link
Contributor

Problem

SQLite databases are officially supported but the way SQLite is different enough from other SQL databases that there needs to be a proper integration so that the application will be able to edit SQLite databases. For example Alter Table is not fully supported by SQLite only a subset of commands are allowed. SQLite is different in that it stores the schema in the sqlite_schema table as the original text of the CREATE statements that define the schema. Hence ALTER TABLE needs to revise the text of the CREATE statement. Doing so can be tricky for certain "creative" schema designs.

Solution

My recommendation is to read up on all the SQLite documentation in regards to alter table to then edit how the ERDiagram works specifically for SQLite.
https://sqlite.org/lang_altertable.html
image

Additional information

No response

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I'd love to make a PR to implement this feature!
@michaelma7 michaelma7 added the enhancement New feature or request label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant