-
Notifications
You must be signed in to change notification settings - Fork 206
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
PostgreSQL support? #1108
Comments
Hi @ricpelo, as luya is build upon the Yii2 Framework you could just use the http://www.yiiframework.com/doc-2.0/yii-db-pgsql-schema.html Schema: I googled the setup very quickly: I hope this helps? Let me know if you have any further questions. |
(maybe we would have to change the migration files to work with postgresql, but unsure about that. maybe you could just try or take a look at the migrations files so we would know what needs to be changed. thanks) |
Hi, @nadar, thank you very much for your answer. By "support" I mean that the current installation procedure works only with MySQL, because the migrations applied with |
True! We should change this and use the http://www.yiiframework.com/doc-2.0/yii-db-schema.html instead, then it would be applied based on your database schema settings. Maybe you could send a pull request? We would have to do it anyway, so it should be part of our short-term roadmap. |
Sorry, @nadar, I'd love to contribute, but unfortunately I don't have the free time needed to work on this now :(. |
Ok, i will take care of this. |
@ricpelo i made the changes for the cms and admin modules, which are by default used in the kickstarter application, maybe you can give it a try and see if it works? I am going to make the changes also for all other modules. |
builder to support other dbms schemas #1108
Hi, @nadar, I just tried the installation procedure starting with:
and I got the following error message:
The Hope this helps! Thank you very much for all your work! |
Maybe all the |
True! What confused me: in mysql boolean stands for structure type: So i assumed the (maybe the schema builder of Yii2 should typecast the defaultValue for type boolean, whould make both options possible) |
@ricpelo Could you please try again? Thank you! |
@nadar, perfect! Now works perfectly in PostgreSQL :) Interestingly, when I go to
Is the above issue related to this one? Do you know if it's triaged? |
I don't think this is related to each other, this is maybe more the problem of your webserver related to auhtentication with bearer auth, maybe this helps: yiisoft/yii2#6631 (comment) Maybe close this issue and open another one, so other people can |
Yes, I'm using Apache, the error appears when I login, and I find an access token in the OK for me to close this issue now. I'll try opening a new one. Thank you very much! |
Hi! Great project!
Is PostgreSQL support in the short-term roadmap?
Thanks!
The text was updated successfully, but these errors were encountered: