There was an error while loading. Please reload this page.
org.wordpress.android.fluxc.persistence.entity
org.wordpress.android.fluxc.persistence::WCAndroidDatabase
MigrationTests
org.wordpress.android.fluxc.model
Identifiable
@Table public class TestModel implements Identifiable { @PrimaryKey @Column private int mId; // Post format attributes @Column private String mName; public int getId() { return mId; } public void setId(int id) { mId = id; } public String getName() { return mName; } public void setName(String name) { mName = name; } }
Edit the WellSqlConfig class, and add a migration step for the new table (see other CREATE TABLE ... entries in the onUpgrade() method
WellSqlConfig
CREATE TABLE ...
onUpgrade()
If you add any test, make sure the WellSqlConfig is used in the test setup or create the new table yourself.