BASEDIR "/src/"; MODULEX MCMS.Blog EXTENDS Base { VERSION "1.0.0"; GENTABLEXML REPLACE; MODEL Category { id ObjectID; site_id NULLABLE Integer; instance NULLABLE String(32); name String(100); PKEY id; } CHLOG MODEL Entry { id ObjectID; site_id NULLABLE Integer; instance NULLABLE String(32); cat_id NULLABLE REF Category:id; title String(100); tags Text; shortinfo Text; content HTML; PKEY id; INDEX instance instance; } MODEL Comment { id ObjectID; entry_id REF Entry:id; created_by String(100); created_at DateTime; email NULLABLE EMail; content Text; PKEY id; } SERVICE Repo { } view index { } }