Commit 8ecd9628ca0d983df07b18882e19c12a03f1130a

Authored by viktorbasanets
1 parent d731bf61

The final modifications for passing preliminary tests

@@ -106,8 +106,8 @@ public class EntityViewEntity extends BaseSqlEntity<EntityView> implements Searc @@ -106,8 +106,8 @@ public class EntityViewEntity extends BaseSqlEntity<EntityView> implements Searc
106 } catch (IOException e) { 106 } catch (IOException e) {
107 e.printStackTrace(); 107 e.printStackTrace();
108 } 108 }
109 - this.tsBegin = entityView.getTsBegin() != null ? String.valueOf(entityView.getTsBegin()) : "";  
110 - this.tsEnd = entityView.getTsEnd() != null ? String.valueOf(entityView.getTsEnd()) : ""; 109 + this.tsBegin = entityView.getTsBegin() != null ? String.valueOf(entityView.getTsBegin()) : "0";
  110 + this.tsEnd = entityView.getTsEnd() != null ? String.valueOf(entityView.getTsEnd()) : "0";
111 this.searchText = entityView.getSearchText(); 111 this.searchText = entityView.getSearchText();
112 this.additionalInfo = entityView.getAdditionalInfo(); 112 this.additionalInfo = entityView.getAdditionalInfo();
113 } 113 }
@@ -18,4 +18,5 @@ DROP TABLE IF EXISTS user_credentials; @@ -18,4 +18,5 @@ DROP TABLE IF EXISTS user_credentials;
18 DROP TABLE IF EXISTS widget_type; 18 DROP TABLE IF EXISTS widget_type;
19 DROP TABLE IF EXISTS widgets_bundle; 19 DROP TABLE IF EXISTS widgets_bundle;
20 DROP TABLE IF EXISTS rule_node; 20 DROP TABLE IF EXISTS rule_node;
21 -DROP TABLE IF EXISTS rule_chain;  
  21 +DROP TABLE IF EXISTS rule_chain;
  22 +DROP TABLE IF EXISTS entity_views;