Added enum example to schema file docs
This commit is contained in:
parent
aeb1059f12
commit
fd3a821ad0
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user