File: mksens.sql

package info (click to toggle)
w1retap 1.5.5-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,748 kB
  • sloc: ansic: 32,291; sql: 247; ruby: 205; sh: 157; makefile: 44; xml: 19
file content (45 lines) | stat: -rw-r--r-- 660 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
CREATE TABLE ratelimit (
    name text,
    value real,
    rmax real,
    rmin real
);

CREATE TABLE readings (
    date integer,
    name text,
    value real
);

CREATE TABLE replog (
    date timestamp with time zone,
    message text
);

CREATE TABLE station (
    name text,
    stnlat real,
    stnlong real,
    altitude real,
    location text,
    software text,
    url text,
    wu_user text,
    wu_pass text,
    rfact real,
    cwop_user text,
    cwop_pass text
);

CREATE TABLE w1sensors (
    device text,
    type text,
    abbrv1 text,
    name1 text,
    units1 text,
    abbrv2 text,
    name2 text,
    units2 text,
    params text	
);