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

Look in AppSchema for tables #16

Closed
ariddlestone opened this issue Feb 24, 2023 · 1 comment · Fixed by #26
Closed

Look in AppSchema for tables #16

ariddlestone opened this issue Feb 24, 2023 · 1 comment · Fixed by #26
Labels
enhancement New feature or request

Comments

@ariddlestone
Copy link
Owner

When checking whether a model exists (determining the types of controller properties, for example), check app/Config/schema.php if it exists, to get tables which don't have models. If it does, return a generic Model type.

@ariddlestone ariddlestone added the enhancement New feature or request label Feb 24, 2023
@ariddlestone
Copy link
Owner Author

We'll need to look in plugin schemas too

ariddlestone added a commit that referenced this issue Mar 18, 2023
ariddlestone added a commit that referenced this issue Apr 5, 2023
ariddlestone added a commit that referenced this issue Apr 5, 2023
ariddlestone added a commit that referenced this issue Apr 5, 2023
Recognise model-less tables in ClassRegistry::init()

* Uses schema to understand database structure

#16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant