package com.tightdb;

public enum ColumnType {
	ColumnTypeInt(0),
	ColumnTypeBool(1),
	ColumnTypeString(2),
	ColumnTypeStringEnum(3);	// This is NOT a user selectable datatype - You can not create a table containing this type
	ColumnTypeBinary(4),
	ColumnTypeTable(5),
	ColumnTypeMixed(6),
	ColumnTypeDate(7),

	private ColumnType(int index){
		this.index = index;
	}
	private int index;

	public static ColumnType getColumnTypeForIndex(int index){
		ColumnType[] columnTypes = values();
		for(int i=0; i<columnTypes.length; i++){
			if(columnTypes[i].index == index)
				return columnTypes[i];
		}
		return null;
	}
}

@@ -131,17 +131,17 @@
 gEnum(3)
-;
+,
 %09// This
@@ -311,17 +311,17 @@
 eDate(7)
-,
+;
 %0D%0A%0D%0A%09pri

Fix for: Order of items in enum ColumnType updated to mach recent changes in the core library