Steve Schmitt

Results 58 comments of Steve Schmitt

We would need to see how [sequelize](https://github.com/sequelize/sequelize) handles them before we can do anything in [sequelize-auto](https://github.com/sequelize/sequelize-auto).

So the if the column's default value is "(UUID())" then make the type `DataTypes.UUID`. That makes sense. What should the Sequelize model's `defaultValue` be?

Perhaps you could manually code a model class or two and test it different ways, and let me know what works. Then I can put those changes into sequelize-auto.

Should we have something like this? ```js if (dialect == 'mysql' && fieldType == 'varchar(36)' && defaultValue.includes('uuid')) { dataType = DataTypes.UUID; } ```

I'm still looking for an Android app that has this feature. I'm hoping QKSMS will be the one! Here's an example conversation: me: `Let's eat ice cream` iperson: `Liked "Let's...

I'm not sure what you are trying to do. Can you give a complete example of how you would expect it to work?

Ah, you are right! The problem is that the `sequelize` library is not escaping the name "Order" (which is a reserved word in SQL). I've opened a [PR in sequelize](https://github.com/sequelize/sequelize/pull/12752)...

That should be fine, as long as your client uses the same NamingConvention.