If you subclass models you cannot run sails lift. You will get the following error.
error: A hook (`orm`) failed to load!
error: Error (E_UNKNOWN) :: Encountered an unexpected error
OrientDB.RequestError: Class 'pmobject' cannot be dropped because it has sub classes. Remove the dependencies before trying to drop it again
at Operation.parseError (/Users/sklass/Development/gdp_server/node_modules/sails-orientdb/node_modules/oriento/lib/transport/binary/protocol28/operation.js:832:13)
at Operation.consume (/Users/sklass/Development/gdp_server/node_modules/sails-orientdb/node_modules/oriento/lib/transport/binary/protocol28/operation.js:422:35)
Hi there,
If you subclass models you cannot run sails lift. You will get the following error.