package app.android.gambit.local;


public class DbFieldParams
{
	public static final String ID = "integer primary key autoincrement not null unique";
	public static final String DECK_TITLE = "text not null unique";
	public static final String DECK_NEXT_CARD_INDEX = "int not null";

	public static final String CARD_DECK_ID = "integer not null references \"Decks\"(\"_id\")";
	public static final String CARD_FRONT_SIDE_TEXT = "text not null";
	public static final String CARD_BACK_SIDE_TEXT = "text not null";

	// OrderIndex field should actually be unique, but it is hard to shuffle and
	// reset indexes if the db strictly takes care of this. So, uniqueness should be
	// guaranteed by the algorithm.
	public static final String CARD_ORDER_INDEX = "int not null";

	public static final String DB_LAST_UPDATE_TIME = "text not null unique";
}

@@ -510,201 +510,8 @@
 %22;%0A%0A
-%09// OrderIndex field should actually be unique, but it is hard to shuffle and%0A%09// reset indexes if the db strictly takes care of this. So, uniqueness should be%0A%09// guaranteed by the algorithm.%0A
 %09pub

Remove incorrect comment from DbFieldParams.CARD_ORDER_INDEX.