2018-11-01 21:25:42 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<dataSource name="craftbeerpi.db">
|
|
|
|
<database-model serializer="dbm" rdbms="SQLITE" format-version="4.1">
|
|
|
|
<root id="1"/>
|
|
|
|
<schema id="2" parent="1" name="main">
|
|
|
|
<Current>1</Current>
|
|
|
|
<Visible>1</Visible>
|
|
|
|
</schema>
|
|
|
|
<table id="3" parent="2" name="actor"/>
|
|
|
|
<table id="4" parent="2" name="config"/>
|
|
|
|
<table id="5" parent="2" name="dashboard"/>
|
|
|
|
<table id="6" parent="2" name="dashboard_content"/>
|
2018-12-06 23:46:06 +01:00
|
|
|
<table id="7" parent="2" name="dummy"/>
|
|
|
|
<table id="8" parent="2" name="kettle"/>
|
|
|
|
<table id="9" parent="2" name="sensor"/>
|
|
|
|
<table id="10" parent="2" name="sqlite_master"/>
|
|
|
|
<table id="11" parent="2" name="step"/>
|
|
|
|
<table id="12" parent="2" name="tank"/>
|
|
|
|
<table id="13" parent="2" name="translation"/>
|
|
|
|
<column id="14" parent="3" name="id">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="15" parent="3" name="name">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="16" parent="3" name="type">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>2</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="17" parent="3" name="config">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>3</Position>
|
|
|
|
<DataType>VARCHAR(3000)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="18" parent="3">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>id</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
</key>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="19" parent="4" name="name">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>VARCHAR(50)|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="20" parent="4" name="value">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>VARCHAR(255)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="21" parent="4" name="type">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>2</Position>
|
|
|
|
<DataType>VARCHAR(50)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="22" parent="4" name="description">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>3</Position>
|
|
|
|
<DataType>VARCHAR(255)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="23" parent="4" name="options">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>4</Position>
|
|
|
|
<DataType>VARCHAR(255)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<index id="24" parent="4" name="sqlite_autoindex_config_1">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>name</ColNames>
|
|
|
|
<Unique>1</Unique>
|
|
|
|
</index>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="25" parent="4">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>name</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
<UnderlyingIndexName>sqlite_autoindex_config_1</UnderlyingIndexName>
|
|
|
|
</key>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="26" parent="5" name="id">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="27" parent="5" name="name">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="28" parent="5">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>id</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
</key>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="29" parent="6" name="id">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="30" parent="6" name="dbid">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>INTEGER(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="31" parent="6" name="element_id">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>2</Position>
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="32" parent="6" name="type">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>3</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="33" parent="6" name="x">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>4</Position>
|
|
|
|
<DataType>INTEGER(5)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="34" parent="6" name="y">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>5</Position>
|
|
|
|
<DataType>INTEGER(5)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="35" parent="6" name="config">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>6</Position>
|
|
|
|
<DataType>VARCHAR(3000)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="36" parent="6">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>id</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
</key>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="37" parent="7" name="id">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="38" parent="7" name="name">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="39" parent="7">
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
</key>
|
|
|
|
<column id="40" parent="8" name="id">
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
|
|
|
<column id="41" parent="8" name="name">
|
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
|
|
|
<column id="42" parent="8" name="sensor">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>2</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="43" parent="8" name="heater">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>3</Position>
|
|
|
|
<DataType>VARCHAR(10)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="44" parent="8" name="automatic">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>4</Position>
|
|
|
|
<DataType>VARCHAR(255)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="45" parent="8" name="logic">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>5</Position>
|
|
|
|
<DataType>VARCHAR(50)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="46" parent="8" name="config">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>6</Position>
|
|
|
|
<DataType>VARCHAR(1000)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="47" parent="8" name="agitator">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>7</Position>
|
|
|
|
<DataType>VARCHAR(10)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="48" parent="8" name="target_temp">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>8</Position>
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="49" parent="8" name="height">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>9</Position>
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="50" parent="8" name="diameter">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>10</Position>
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="51" parent="8">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>id</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
</key>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="52" parent="9" name="id">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="53" parent="9" name="name">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="54" parent="9" name="type">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>2</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="55" parent="9" name="config">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>3</Position>
|
|
|
|
<DataType>VARCHAR(3000)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="56" parent="9">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>id</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
</key>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="57" parent="10" name="type">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>text|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="58" parent="10" name="name">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>text|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="59" parent="10" name="tbl_name">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>2</Position>
|
|
|
|
<DataType>text|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="60" parent="10" name="rootpage">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>3</Position>
|
|
|
|
<DataType>integer|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="61" parent="10" name="sql">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>4</Position>
|
|
|
|
<DataType>text|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="62" parent="11" name="id">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="63" parent="11" name="order">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="64" parent="11" name="name">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>2</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="65" parent="11" name="type">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>3</Position>
|
|
|
|
<DataType>VARCHAR(100)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="66" parent="11" name="stepstate">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>4</Position>
|
|
|
|
<DataType>VARCHAR(255)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="67" parent="11" name="state">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>5</Position>
|
|
|
|
<DataType>VARCHAR(1)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="68" parent="11" name="start">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>6</Position>
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="69" parent="11" name="end">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>7</Position>
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="70" parent="11" name="config">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>8</Position>
|
|
|
|
<DataType>VARCHAR(255)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="71" parent="11" name="kettleid">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>9</Position>
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="72" parent="11">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>id</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
</key>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="73" parent="12" name="id">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="74" parent="12" name="name">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="75" parent="12" name="brewname">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>2</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="76" parent="12" name="sensor">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>3</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="77" parent="12" name="sensor2">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>4</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="78" parent="12" name="sensor3">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>5</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="79" parent="12" name="heater">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>6</Position>
|
|
|
|
<DataType>VARCHAR(10)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="80" parent="12" name="logic">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>7</Position>
|
|
|
|
<DataType>VARCHAR(50)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="81" parent="12" name="config">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>8</Position>
|
|
|
|
<DataType>VARCHAR(1000)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="82" parent="12" name="cooler">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>9</Position>
|
|
|
|
<DataType>VARCHAR(10)|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="83" parent="12" name="target_temp">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>10</Position>
|
|
|
|
<DataType>INTEGER|0</DataType>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="84" parent="12">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>id</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
</key>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="85" parent="13" name="language_code">
|
2018-11-01 21:25:42 +01:00
|
|
|
<DataType>VARCHAR(3)|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="86" parent="13" name="key">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>1</Position>
|
|
|
|
<DataType>VARCHAR(80)|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<column id="87" parent="13" name="text">
|
2018-11-01 21:25:42 +01:00
|
|
|
<Position>2</Position>
|
|
|
|
<DataType>VARCHAR(100)|0</DataType>
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
</column>
|
2018-12-06 23:46:06 +01:00
|
|
|
<index id="88" parent="13" name="sqlite_autoindex_translation_1">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>language_code
|
|
|
|
key</ColNames>
|
|
|
|
<Unique>1</Unique>
|
|
|
|
</index>
|
2018-12-06 23:46:06 +01:00
|
|
|
<key id="89" parent="13">
|
2018-11-01 21:25:42 +01:00
|
|
|
<ColNames>language_code
|
|
|
|
key</ColNames>
|
|
|
|
<Primary>1</Primary>
|
|
|
|
<UnderlyingIndexName>sqlite_autoindex_translation_1</UnderlyingIndexName>
|
|
|
|
</key>
|
|
|
|
</database-model>
|
|
|
|
</dataSource>
|