/*
* Generated by Robotoworks Mechanoid
*/
package com.robotoworks.examples.recipes.content.migrations;
import android.database.sqlite.SQLiteDatabase;
import com.robotoworks.mechanoid.db.SQLiteMigration;
public class DefaultRecipesDBMigrationV1 extends SQLiteMigration {
@Override
public void onBeforeUp(SQLiteDatabase db) {}
@Override
public void up(SQLiteDatabase db) {
db.execSQL(
"create table recipes ( " +
"_id integer primary key autoincrement, " +
"title text, " +
"description text " +
") "
);
}
@Override
public void onAfterUp(SQLiteDatabase db) {}
}