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