Dynalon / Rainy

Simple Tomboy/Tomdroid cloud/syncing server. Written in C# with AngularJS web frontend. Supports SQLite & Postgres Backends.
http://dynalon.github.io/Rainy
GNU Affero General Public License v3.0
88 stars 15 forks source link

Postgres fixes #57

Closed syskill closed 7 years ago

syskill commented 7 years ago

This branch contains two fixes. The first is simple: a couple of open-coded SQL statements' table names match what OrmLite uses for SQLite, but not Postgres. Fortunately OrmLite can handle this just fine by itself.

The second is a bit more complex. OrmLite does not handle arrays in POCOs correctly at all. AFAICT this may be fixed properly in version 4.0.44. I fixed it rather hastily in the tip of their v3 branch and bundled the resulting DLL here. ServiceStack version 3 is no longer supported, so I doubt that anyone would take the time to review and accept the fix, let alone publish an official release. My changes can be seen here.