Schema definition
A data model is declared using persistence.define. The following two definitions define a Task and Category entity with a few simple properties. The property types are based on SQLite types, specifically supported types are (but any SQLite type is supported): TEXT: for textual data INT: for numeric values BOOL: for boolean values (true or false) DATE: for date/time value (with precision of 1 …