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

DropTable的sql语法错了 #90

Open
cnwangfei opened this issue Mar 6, 2023 · 1 comment
Open

DropTable的sql语法错了 #90

cnwangfei opened this issue Mar 6, 2023 · 1 comment
Assignees

Comments

@cnwangfei
Copy link

			err = conn.Db.Migrator().DropTable(&a)
			if err != nil {
				return
			}

跟踪到sql执行的是

DROP TABLE IF EXISTS "AppDict"
@iTanken
Copy link
Contributor

iTanken commented Mar 18, 2024

image

SQL Server 2016 支持这个语法

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

3 participants