UNPKG
compound
Version:
latest (1.2.4)
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.20
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.13-1
1.1.12
1.1.11
1.1.11-1
1.1.10
1.1.9
1.1.8
1.1.7-11
1.1.7-10
1.1.7-9
1.1.7-8
1.1.7-7
1.1.7-6
1.1.7-5
1.1.7-4
1.1.7-3
1.1.7-2
1.1.7-1
1.1.6
1.1.6-2
1.1.5
1.1.5-22
1.1.5-21
1.1.5-20
1.1.5-19
1.1.5-18
1.1.5-17
1.1.5-16
1.1.5-15
1.1.5-14
1.1.5-12
1.1.5-11
1.1.5-10
1.1.5-8
1.1.5-7
1.1.5-5
1.1.5-4
1.1.5-3
1.1.5-2
1.1.5-1
1.1.4-18
1.1.4-17
1.1.4-16
1.1.4-15
1.1.4-14
1.1.4-13
1.1.4-12
1.1.4-11
1.1.4-10
1.1.4-9
1.1.4-8
1.1.4-7
1.1.4-6
1.1.4-5
1.1.4-4
1.1.4-3
1.1.4-2
1.1.4-1
1.1.4-0
1.1.3
1.1.3-11
1.1.3-9
1.1.3-8
1.1.3-7
1.1.3-6
1.1.3-5
1.1.3-4
1.1.3-3
1.1.3-2
1.1.3-1
1.1.2-9
CompoundJS - MVC framework for NodeJS
github.com/1602/compound
1602/compound
compound
/
templates
/
db
/
schema.coffee
8 lines
(7 loc)
•
175 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
#
Example of model definition:
#
#define 'User', ->
#
property
'email'
, String, index:
true
#
property
'password'
, String
#
property
'activated'
, Boolean, default:
false
#