This commit is contained in:
@@ -132,7 +132,7 @@ namespace AyaNova.Biz
|
||||
|
||||
#region Build for specific type
|
||||
switch (sDataType)
|
||||
{
|
||||
{
|
||||
case AyDataType.Text:
|
||||
//escape any pre-existing apostrophes
|
||||
//i.e. "O'Flaherty's pub" would cause fits
|
||||
@@ -761,12 +761,7 @@ namespace AyaNova.Biz
|
||||
case FilterComparisonOperator.LessThanOrEqualTo:
|
||||
sb.Append("<=");
|
||||
sb.Append(sValue);
|
||||
break;
|
||||
// case "Like":
|
||||
// sb.Append("Like N'");
|
||||
// sb.Append(sValue);
|
||||
// sb.Append("%'");
|
||||
// break;
|
||||
break;
|
||||
case FilterComparisonOperator.NotEqual:
|
||||
sb.Append("<>");
|
||||
sb.Append(sValue);
|
||||
|
||||
@@ -23,6 +23,7 @@ namespace AyaNova.Models
|
||||
public DateTime? StartDate { get; set; }
|
||||
public DateTime? EndDate { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public int Count {get;set;}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -205,7 +205,7 @@ namespace AyaNova.Util
|
||||
//Add widget table
|
||||
//id, text, longtext, boolean, currency,
|
||||
exec("CREATE TABLE awidget (id BIGSERIAL PRIMARY KEY, ownerid bigint not null, name varchar(255) not null, serial bigint not null," +
|
||||
"startdate timestamp, enddate timestamp, dollaramount decimal(19,5), active bool, roles int4, notes text)");
|
||||
"startdate timestamp, enddate timestamp, dollaramount decimal(19,5), active bool, roles int4, count integer, notes text)");
|
||||
|
||||
//TEST TEST TEST ONLY FOR DEVELOPMENT TESTING TO ENSURE UNIQUENESS
|
||||
//exec("CREATE UNIQUE INDEX awidget_serial_idx ON awidget (serial);");
|
||||
|
||||
Reference in New Issue
Block a user