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

ユニークキーを削除する時にMySQLの構文をディフォルトにしてるのでそれを治す #1

Open
takehaya opened this issue Mar 10, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@takehaya
Copy link
Owner

これはなに

ユニークキーを削除する時

self.db.execute_sql("SET FOREIGN_KEY_CHECKS=0;")

と書いているのでMySQL前提のコードになってしまっている。SQLiteであることなどを渡して修正する必要がある。

今後

とりあえず治す。
それとそもそもSQLiteであるという情報などは受け渡してそれように書いておく必要があると感じている

@takehaya takehaya added the bug Something isn't working label Mar 10, 2019
@takehaya takehaya self-assigned this Mar 10, 2019
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