Commit fd3a821a authored by jackbravo's avatar jackbravo

Added enum example to schema file docs

parent aeb1059f
......@@ -153,6 +153,26 @@ User:
validate: false
</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
<code type="yaml">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment