-
Notifications
You must be signed in to change notification settings - Fork 24
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
Compatible 1.0 #18
Comments
I am gussing this is no longer maintained, but I was able to get the npm package working for sails v1.0 easily but modifing the generator. I am using mysql so /generator/mysql/compler_mysql.js
I also camelized all the attributes but that just my preference. My database is snake case. In my opinion this package will save you a ton of time so it's totally worth fixing it. |
It's a good start but the types are changed in Sails 1.0 and integer, ... must be 'number', and dates must be 'ref', etc... I think that I will do a fork of this repo with the changes because I need to port a lot of databases to sails and this is a very good repo. |
Hello everyone, I appreciate that you want to contribute with this project, I think @jotae1e should have a fork of this repo since I do not have enough time to keep it updated. Thanks @jotae1e @bromine355 |
With sails 1.0 and above, give a lot of error of column types, etc...
For example:
error: A hook (
orm
) failed to load!error: Failed to lift app: userError:
------------------------------------------
In the
fechaalta
attribute of modeltblclientes
:The type "date" is no longer supported. To use this type in your model, change
type
to one of the supported types and set thecolumnType
property to a columntype supported by the model's adapter, e.g. { type: 'string', columnType: 'date' }
------------------------------------------
Is this repository deprecated?
Thanks
The text was updated successfully, but these errors were encountered: