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

mssql ALTER TABLE #418

Open
kPlusPlus opened this issue Aug 15, 2023 · 1 comment
Open

mssql ALTER TABLE #418

kPlusPlus opened this issue Aug 15, 2023 · 1 comment

Comments

@kPlusPlus
Copy link

Dear Guru dbml
problem is
convert from sql to dbml
no convert any like thi

ALTER TABLE [dbo].[tUD] WITH CHECK ADD CONSTRAINT [FK_tUD_tU] FOREIGN KEY([u_id])
REFERENCES [dbo].[tU] ([id])
ON DELETE CASCADE
GO

@TeaNguyen
Copy link
Collaborator

Yes, you are correct. We do not currently support or parse ALTER statements. However, we are gradually improving that ability.

With #416 (we'll try to revamp the PostgreSQL parser 1st), we're first attempting to redesign our SQL parsers to reduce parsing errors and support almost all SQL syntax. Then we'll try to cover these ALTER statements to generate the most accurate DBML of the database's current state.

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

No branches or pull requests

2 participants