- all tables are prefixed with AV_ - WEBLOG was renamed to AV_SITE - GOODIE was renamed to AV_FILE - all columns are prefixed with the table-name (without table-prefix) - foreign keys follow a specific naming-convention (for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/)
32 lines
755 B
Properties
32 lines
755 B
Properties
_db = antville
|
|
_table = AV_IMAGE
|
|
|
|
_id = IMAGE_ID
|
|
_parent = parent, site.images[named]
|
|
|
|
# object references
|
|
site = object (site)
|
|
site.local = IMAGE_F_SITE
|
|
site.foreign = SITE_ID
|
|
parent = object (image)
|
|
parent.local = IMAGE_F_IMAGE_PARENT
|
|
parent.foreign = IMAGE_ID
|
|
thumbnail = object (image)
|
|
thumbnail.local = IMAGE_F_IMAGE_THUMB
|
|
thumbnail.foreign = IMAGE_ID
|
|
creator = object (user)
|
|
creator.local = IMAGE_F_USER_CREATOR
|
|
creator.foreign = USER_ID
|
|
modifier = object (user)
|
|
modifier.local = IMAGE_F_USER_MODIFIER
|
|
modifier.foreign = USER_ID
|
|
|
|
# primitive properties
|
|
alias = IMAGE_ALIAS
|
|
filename = IMAGE_FILENAME
|
|
fileext = IMAGE_FILEEXT
|
|
width = IMAGE_WIDTH
|
|
height = IMAGE_HEIGHT
|
|
alttext = IMAGE_ALTTEXT
|
|
createtime = IMAGE_CREATETIME
|
|
modifytime = IMAGE_MODIFYTIME
|