Boolean Generation #1505
Replies: 3 comments 2 replies
-
IIRC, SQLite doesn't really have boolean columns. According to the documentation, it only knows the following types:
All other "types" are just aliases for the types above and are merely useful for documentation and reverse-engineering purposes, but it may cause wrong assumptions about the capabilities of the column. The type |
Beta Was this translation helpful? Give feedback.
-
That is indeed true, I just feel that since I can do CREATE TABLE Activation ( and then have LinqToDb autogenerate the POCO's it would be super cool to have FLuentMigrator be able to generate this also. Either way, its a great tool, good work. |
Beta Was this translation helpful? Give feedback.
-
How would I go about using the
I tried in the initial create services section in the basic demo, the custome code never seems to be injected. |
Beta Was this translation helpful? Give feedback.
-
I've noticed when using SQLite
.WithColumn("LicenseCreated").AsBoolean()
Generates an Integer field. It think in the newer versions of SQLite you can use a proper Boolean. This would make things better for using tools like Ling2DB and TT4 templates over the db.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions