Check-in [0c74d63215]
Overview
SHA1:0c74d6321523cb17b8ba7bf63ca0c7227c92cc69
Date: 2014-09-07 11:08:29
User: rkeene
Comment:Updated database schema to be more realistic
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2014-09-07
11:24
[eb0e4ee1e1] For now, build with a libtclkit (user: rkeene, tags: trunk)
11:08
[0c74d63215] Updated database schema to be more realistic (user: rkeene, tags: trunk)
11:01
[4c07c8ed11] Formatting fixes (user: rkeene, tags: trunk)
Changes

Modified README.md from [8ca0776d11] to [5b04e66b64].

23
24
25
26
27
28
29
30
31
32
    		type == file; extraData = size,sha1

    /opt/appfs/hostname/{sha1,package/os-cpuArch/version}/file
    	Fetches: http://hostname/appfs/sha1/<sha1>

Database
--------
    hostname_to_packages(hostname, sha1);
    package_info(sha1 PRIMARY KEY, package, version, os, cpuArch, isLatest)
    package_to_files(package_sha1, type, time, source, size, file_sha1, name)







|
<

23
24
25
26
27
28
29
30

31
    		type == file; extraData = size,sha1

    /opt/appfs/hostname/{sha1,package/os-cpuArch/version}/file
    	Fetches: http://hostname/appfs/sha1/<sha1>

Database
--------
    hostname_to_packages(hostname, sha1, package, version, os, cpuArch, isLatest)

    package_to_files(package_sha1, type, time, source, size, file_sha1, name)