author | Michael Krelin <hacker@klever.net> | 2008-04-05 11:17:33 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2008-04-05 11:17:33 (UTC) |
commit | 04fb190243442e83349f129b523ab747e58100bf (patch) (unidiff) | |
tree | ddc28357fbe78b07fd3a5e0aa8088130bf305829 /src/schema.sql | |
download | napkin-04fb190243442e83349f129b523ab747e58100bf.zip napkin-04fb190243442e83349f129b523ab747e58100bf.tar.gz napkin-04fb190243442e83349f129b523ab747e58100bf.tar.bz2 |
Initial commit into public repository0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | src/schema.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/schema.sql b/src/schema.sql new file mode 100644 index 0000000..f0fc4dd --- a/dev/null +++ b/src/schema.sql | |||
@@ -0,0 +1,9 @@ | |||
1 | CREATE TABLE sleeps ( | ||
2 | s_tobed text NOT NULL, -- w3cish timestamp with minute precision | ||
3 | s_alarm text NOT NULL PRIMARY KEY,-- w3cish timestamp with minute precision | ||
4 | s_window integer NOT NULL, -- number of minutes | ||
5 | s_data_a integer NOT NULL, -- number of seconds | ||
6 | s_almost_awakes text NOT NULL, -- [^0-9:TZ-]-separated list of w3cish | ||
7 | -- timestamps with second precision | ||
8 | s_timezone integer NOT NULL -- seconds west of GMT, TODO: make use of it | ||
9 | ); | ||