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

Possible regression in inspectdb with schema argument #411

Open
Wedge009 opened this issue Aug 29, 2024 · 2 comments
Open

Possible regression in inspectdb with schema argument #411

Wedge009 opened this issue Aug 29, 2024 · 2 comments

Comments

@Wedge009
Copy link

Wedge009 commented Aug 29, 2024

Software versions

  • Django: 5.0.8
  • mssql-django: 1.5
  • python: 3.12.5
  • SQL Server: 2016 (13.0.7037)
  • OS: Windows 11

Table schema and Model
N/A

Database Connection Settings
Blocked by stupid corporate proxy, but there's nothing relevant here, I believe.

Problem description and steps to reproduce
python manage.py inspectdb works as expected - demonstrating the database connection is valid - but only for the default schema.

python manage.py inspectdb --schema [schema_name] results in the following error:

usage: manage.py inspectdb [-h] [--database DATABASE] [--include-partitions] [--include-views] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback]
                           [--no-color] [--force-color]
                           [table ...]
manage.py inspectdb: error: unrecognized arguments: --schema

Expected behaviour and actual behaviour

  • Database inspection with specified schema.
  • Aforementioned error.

Error message/stack trace
As above.

Any other details that can be helpful
Formal report of the problem that I mentioned previously at #56 (comment)

@Wedge009 Wedge009 changed the title test Possible regression in inspectdb with schema argument Aug 29, 2024
@mShan0
Copy link
Contributor

mShan0 commented Sep 3, 2024

Thanks for the report. Will look into this

@Wedge009
Copy link
Author

Wedge009 commented Sep 3, 2024

Thank you for the acknowledgement.

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