1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Added enum example to schema file docs

This commit is contained in:
jackbravo 2008-01-02 17:59:37 +00:00
parent aeb1059f12
commit fd3a821ad0

View File

@ -153,6 +153,26 @@ User:
validate: false validate: false
</code> </code>
++ Enums
<code type="yaml">
---
TvListing:
tableName: tv_listing
actAs: [Timestampable]
columns:
notes:
type: string
taping:
type: enum
length: 4
values: ['live', 'tape']
region:
type: enum
length: 4
values: ['US', 'CA']
</code>
++ Templates ++ Templates
<code type="yaml"> <code type="yaml">