Merge "VES Heartbeat and Software Management Feature"
[oam/tr069-adapter.git] / ves-agent / src / main / resources / schema-mariadb.sql
1 \r
2 CREATE TABLE IF NOT EXISTS ves_device_data \r
3         (\r
4         ID bigint null,\r
5         DEVICE_ID varchar(30) not null,\r
6         ENODEB_NAME varchar(100),\r
7         OUI varchar(30),\r
8         PRODUCT_CLASS varchar(100),\r
9         ATTR_JSON varchar(4000),\r
10         ATTR_GROUP varchar(256) not null,\r
11         LAST_UPDATED_TIME TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\r
12         UNIQUE(DEVICE_ID,ATTR_GROUP)\r
13 );\r
14 \r
15 \r