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 dump import #8142

Closed
1 of 6 tasks
LukeMauldin opened this issue Sep 10, 2019 · 2 comments
Closed
1 of 6 tasks

Mssql dump import #8142

LukeMauldin opened this issue Sep 10, 2019 · 2 comments
Labels
status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR type/upstream This is an issue in one of Gitea's dependencies and should be reported there

Comments

@LukeMauldin
Copy link

  • Gitea version (or commit ref): 1.9.3
  • Git version: 2.18
  • Operating system: Windows
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [x ] Not relevant
  • Log gist:

Description

Current using sqlite as gitea database and want to transition to mssql. Ran ‘gitea dump —database mssql’ but encountered errors when trying to import .sql file.
The problem is that is .sql file uses the literal values of “true” and “false” for Boolean columns. Mssql requires the use of 1 and 0 for Boolean columns.

@techknowlogick
Copy link
Member

Would you be able to file an upstream bug report for this? We use https://github.com/go-xorm/xorm for database operations.

@LukeMauldin
Copy link
Author

LukeMauldin commented Sep 17, 2019

Created issue go-xorm/xorm#1426

@lunny lunny added the status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR label Sep 18, 2019
@techknowlogick techknowlogick added type/upstream This is an issue in one of Gitea's dependencies and should be reported there and removed type/bug labels Apr 12, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR type/upstream This is an issue in one of Gitea's dependencies and should be reported there
Projects
None yet
Development

No branches or pull requests

3 participants