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

View/Trigger in database by migration #347

Open
1 of 3 tasks
markstory opened this issue Jan 15, 2018 · 3 comments
Open
1 of 3 tasks

View/Trigger in database by migration #347

markstory opened this issue Jan 15, 2018 · 3 comments

Comments

@markstory
Copy link
Member

From @AndreLZGava on January 15, 2018 18:58

This is a (multiple allowed):

  • bug

  • enhancement

  • feature-discussion (RFC)

  • CakePHP Version: CakePHP3.4

  • Platform and Target: Linux, Postgres

What you did

I tried to create a migration that creates a view function in my database

What happened

I couldn't create

What you expected to happen

I expected to create a view function in my database, I'd like to create that functions as anot

P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
I tried to ask in stack, just a man answered my question, but the answer didn't help

Before you open an issue, please check if a similar issue already exists or has been closed before.

Copied from original issue: cakephp/cakephp#11632

@markstory
Copy link
Member Author

This might require changes in phinx as well. To my knowledge it does not support creating views outside of executing SQL either.

@sagittaracc
Copy link

I really need this. What's the work around so far?

@dereuromark
Copy link
Member

This could be revisited with #647 done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants