You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this point I expected that Ollie will create table notes with created_at and updated_at columns, but instead got this error
java.lang.RuntimeException: Unable to get provider com.example.ContentProvider: android.database.sqlite.SQLiteException: near "(": syntax error (code 1): , while compiling: CREATE TABLE IF NOT EXISTS (_id INTEGER PRIMARY KEY AUTOINCREMENT, created_at INTEGER NOT NULL, updated_at INTEGER NOT NULL)
Obviously compiler trying to process abstract class BaseModel since it has @Table annotation, but i am not able to omit it, because it is required by @Column.
The text was updated successfully, but these errors were encountered:
I've extracted common fields into base abstract class, but run into an issue:
At this point I expected that Ollie will create table
notes
withcreated_at
andupdated_at
columns, but instead got this errorObviously compiler trying to process abstract class
BaseModel
since it has@Table
annotation, but i am not able to omit it, because it is required by@Column
.The text was updated successfully, but these errors were encountered: