Back to project page androidata.
The source code is released under:
Apache License
If you think the Android project androidata listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.stanidesis.androidata; /* w w w . j av a 2 s. c o m*/ import android.database.sqlite.SQLiteDatabase; import com.stanidesis.androidata.column.Column; import com.stanidesis.androidata.table.ITable; /** * Created by Stanley Idesis on 8/23/14. */ public interface AndroiDataUpgradeHelper { /** * @return a writable database which you may make direct alterations to */ public SQLiteDatabase getDatabase(); /** * Add a new column to your table * * @param table * @param column */ public void addColumn(ITable table, Column column); /** * Rename your table * * @param oldName * @param newName */ public void renameTableTo(String oldName, String newName); }