# iFactory Postgres Models ChangeLog

<!--markdownlint-disable no-duplicate-heading-->

## 2020-05-29, Version 1.3.0, @ChengYuan.Li

### Notable Changes

* add faultGroupId and set errorGroupId not null
* add eam related models and others
* add tagOffset column to eam.TagInfo

### Commits

* [[`371fda88`](https://gitlab.wise-paas.com/iFactorySRP/ifactory-postgres-models/commit/371fda88)] - **src**: add eam related models and others, add faultGroupId and set errorGroupId not null (ChengYuan.Li)
* [[`9792cf34`](https://gitlab.wise-paas.com/iFactorySRP/ifactory-postgres-models/commit/9792cf34)] - **src**: add tagOffset column to eam.TagInfo (ChengYuan.Li)

## 2020-04-20, Version 1.2.0, @ChengYuan.Li

### Notable Changes

* add oee models RawDataChangeLine, UtilizationByOrder, WipLotPerformanceYield and ErrorRawData
* add fimp model WorkerType
* update oee RawDataLightTower, RawDataMachineSensor and RawDataMachineSensorStr

### Commits

* [[`8b5b9f37`](https://gitlab.wise-paas.com/iFactorySRP/ifactory-postgres-models/commit/8b5b9f37)] - **src**: add and enhance models related to raw data (ChengYuan.Li)

## 2020-02-24, Version 1.1.0, @Shouche.Cheng

### Notable Changes

* update libs
* update MachineInfo, MachineList and MachineSummary

### Commits

* [[`aa69e497`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/aa69e497)] - **tools**: update libs (Shouche.Cheng)
* [[`abd9f55f`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/abd9f55f)] - **tools**: update oee MachineInfo, MachineList and MachineSummary (Jimcj.Lin)

## 2019-12-24, Version 1.0.8, @Shouche.Cheng

### Notable Changes

* add tsdoc typedoc
* add test.js
* add .vscode/extensions.json
* add fimp models MyUuid, Hierarchy and SubscriptionInfo
* add oee model LightSensorMapping
* add fems model SharingFormula
* add sme models
* update libs
* update eslint config
* remove tslint

### Commits

* [[`71eaf3c4`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/71eaf3c4)] - **tools**: add tsdoc typedoc (CY.Wang)
* [[`32087edd`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/32087edd)] - **tools**: update libs, eslint config and test.js; remove tslint (Shouche.Cheng)
* [[`bdcb4ac1`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/bdcb4ac1)] - **src**: add SharingFormula, MyUuid and Hierarchy; update eslint (Shouche.Cheng)
* [[`ce7cefe5`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/ce7cefe5)] - **src**: add SubscriptionInfo, .vscode/extensions.json; update libs, eslint config (Shouche.Cheng)
* [[`12779118`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/12779118)] - **src**: add sme models and oee/LightSensorMapping (Jimcj.Lin)
* [[`7e81470a`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/7e81470a)] - **tools**: update eslint config (Shouche.Cheng)

## 2019-10-23, Version 1.0.7, @Shouche.Cheng

### Notable Changes

* update PlanDownTime, ErrorGroupInfo, CodeMapTable and libs

### Commits

* [[`de5852e8`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/de5852e8)] - **src**: update PlanDownTime, ErrorGroupInfo, CodeMapTable and libs (Shouche.Cheng)

## 2019-10-03, Version 1.0.6, @Shouche.Cheng

### Notable Changes

* add some fimp models: SrpTypeInfo, ErrorGroupInfo
* add some oee models: PlanDownTime, PlanDownTimeExcep
* add notification model: OeemachinetagNotify

### Commits

* [[`d9485261`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/d9485261)] - **src**: add fimp, oee and notification models (Shouche.Cheng)

## 2019-09-06, Version 1.0.5, @Shouche.Cheng

### Notable Changes

* add notification models: NotifyInfo, EmailGroup, EmsdevicetagNotify
* add some oee models: MachineInfo, MachineList, MachineSummary, TagInfo, RawDataLightTower, RawDataMachineSensor, RawDataMachineSensorStr

### Commits

* [[`9719b4c7`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/9719b4c7)] - **src**: add notification models and some oee models (Shouche.Cheng) [#313](https://aclredmine.advantech.com.tw/redmines/iFactory_SRP_RD/issues/313) [#339](https://aclredmine.advantech.com.tw/redmines/iFactory_SRP_RD/issues/339) [#385](https://aclredmine.advantech.com.tw/redmines/iFactory_SRP_RD/issues/385)

## 2019-07-30, Version 1.0.4, @Shouche.Cheng

### Notable Changes

* add fems models GroupType, DeptInfo, CostweeklyInfo, PartitionmemberInfo, CostType, DevicecostInfo, ConsumptionType
* add eslint support typescript
* add import-sorter.json

### Commits

* [[`09320791`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/09320791)] - **src**: add fems models GroupType, DeptInfo, CostweeklyInfo, PartitionmemberInfo, CostType, DevicecostInfo, ConsumptionType (Shouche.Cheng) [#265](https://aclredmine.advantech.com.tw/redmines/iFactory_SRP_RD/issues/265)
* [[`09320791`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/09320791)] - **tools**: add eslint support typescript, add import-sorter.json(Shouche.Cheng)

## 2019-07-09, Version 1.0.3, @Shouche.Cheng

### Notable Changes

* add fems model DeviceGroupType

### Commits

* [[`7c00d6a5`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/7c00d6a5)] - **src**: add fems model DeviceGroupType (Shouche.Cheng) [#144](https://aclredmine.advantech.com.tw/redmines/iFactory_SRP_RD/issues/144)

## 2019-07-02, Version 1.0.2, @Shouche.Cheng

### Notable Changes

* add some fems models: BuildingInfo, FloorInfo, PartitionInfo, DeviceType, DeviceInfo, TagInfo, EnergyMonthlyMax
* add fimp models validations
* speed up lint build

### Commits

* [[`11d9137a`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/11d9137a)] - **src**: add some fems models and add fimp models validations (Shouche.Cheng) [#144](https://aclredmine.advantech.com.tw/redmines/iFactory_SRP_RD/issues/144)
* [[`981d9ff2`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/981d9ff2)] - **src**: speed up lint build and add AreaInfo & CityInfo validations (CY.Wang) [#222](https://aclredmine.advantech.com.tw/redmines/iFactory_SRP_RD/issues/222)

## 2019-06-26, Version 1.0.1, @Shouche.Cheng

### Notable Changes

* update sequelize
* move @types/bluebird and @types/validator to dependencies

### Commits

* [[`4bec6d8d`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/4bec6d8d)] - **deps**: v-1.0.1 : update sequelize and move @types/bluebird and @types/validator to dependencies (Shouche.Cheng) [#222](https://aclredmine.advantech.com.tw/redmines/iFactory_SRP_RD/issues/222)

## 2019-06-21, Version 1.0.0, @Shouche.Cheng

### Notable Changes

* add dbConnFactory
* add fimp models

### Commits

* [[`18ceb633`](http://advgitlab.eastasia.cloudapp.azure.com/iFactorySRP/ifactory-postgres-models/commit/18ceb633)] - **src**: v-1.0.0 : add dbConnFactory and fimp models (Shouche.Cheng) [#144](https://aclredmine.advantech.com.tw/redmines/iFactory_SRP_RD/issues/144)
