You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
2.2 KiB

2 years ago
# Example of a data-structure with
# # different count of tables, id-fields
testpol: # database
police: # table
character: inventory
_header:
- polid
- polnr
- polvers
- persid
- objid
- amount
- bonus
- begindate
- enddate
_data:
polid:
id: "t:1"
acceptance: ignore
type: int
nullable: n
polnr:
id: "b:1"
acceptance: norm
type: string
nullable: n
polvers:
id: "b:2"
acceptance: norm
type: int
nullable: n
persid:
id: n
acceptance: norm
type: int
nullable: n
prdid:
id: n
acceptance: norm
type: int
nullable: n
objid:
id: n
acceptance: norm
type: int
nullable: n
amount:
id: n
acceptance: norm
type: double
nullable: y
bonus:
id: n
acceptance: norm
type: float
nullable: y
begindate:
id: n
acceptance: date
type: date
nullable: n
enddate:
id: n
acceptance: date
type: date
nullable: n
object:
character: inventory
_header:
- objid
- descript
- objtype
- value
_data:
objid:
id: "t:1"
acceptance: norm
type: int
nullable: n
descript:
id: "b:1"
acceptance: exist
type: string
nullable: n
objtype:
id: n
acceptance: norm
type: string
nullable: y
value:
id: n
acceptance: norm
type: double
nullable: y
product:
character: inventory
_header:
- objid
- descript
- objtype
- factor
_data:
prdid:
id: "t:1"
acceptance: norm
type: int
nullable: n
descript:
id: "b:1"
acceptance: exist
type: string
nullable: n
objtype:
id: n
acceptance: norm
type: string
nullable: y
factor:
id: n
acceptance: norm
type: float
nullable: y