File: make_db_calendar_template_institution

package info (click to toggle)
postman 2.1-6
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,248 kB
  • ctags: 3,249
  • sloc: cpp: 33,376; ansic: 2,014; sh: 768; makefile: 300
file content (38 lines) | stat: -rwxr-xr-x 1,961 bytes parent folder | download | duplicates (2)
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

echo "Making institution.db"
rm institution.db
../databases/newdb1 institution.db "____VERSION____"     "1.0"
../databases/newdb1 institution.db "____NAME____"        "Calendar"
../databases/newdb1 institution.db "____STRUCTURE____" \
"\
(numevent!1!INT!10!10!10!NumEvent!!0!!!!!)\
(status!2!INT!10!10!10!Status!!0!!!!!)\
(priority!3!INT!10!10!10!Priority!!0!!!!!)\
(type!4!INT!10!10!10!Type!!0!!!!!)\
(title!5!VARCHAR!50!30!20!Title!!1!!!!!)\
(description!6!TEXT!500!30!20!Description!!1!!!!!)\
"
../databases/newdb1 institution.db "____PERMISSIONS____" "(root!rwx!)(postman!r!)"
../databases/newdb1 institution.db "____LASTINT____"     "2"
../databases/newdb1 institution.db "____MAXSIZE____"     "50000"

../databases/newdb1 institution.db "____RECCOUNT____"    "0"

#../databases/newdb1 institution.db "00000000000000303296_numevent"  "1"
#../databases/newdb1 institution.db "00000000000000303296_status"    "0"
#../databases/newdb1 institution.db "00000000000000303296_priority"  "18"
#../databases/newdb1 institution.db "00000000000000303296_type"      "0"
#../databases/newdb1 institution.db "00000000000000303296_title"   "Title of my first event"
#../databases/newdb1 institution.db "00000000000000303296_description"   "Description of my first event"
#../databases/newdb1 institution.db -- "00000000000000303296___FLAGS__"    "----------"

#../databases/newdb1 institution.db "00000000000000303320_numevent"  "1"
#../databases/newdb1 institution.db "00000000000000303320_status"    "0"
#../databases/newdb1 institution.db "00000000000000303320_priority"  "11"
#../databases/newdb1 institution.db "00000000000000303320_type"      "1"
#../databases/newdb1 institution.db "00000000000000303320_title"   "Title of my event 2"
#../databases/newdb1 institution.db "00000000000000303320_description"   "Description of my event 2"
#../databases/newdb1 institution.db -- "00000000000000303320___FLAGS__"    "----------"

../databases/newdb1 institution.db -