-
Notifications
You must be signed in to change notification settings - Fork 1
/
scaffolds.txt
41 lines (29 loc) · 999 Bytes
/
scaffolds.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
ruby script/generate model user location_id:integer login:string email:string first_name:string last_name:string :crypted_password,:string salt:string title:string desc:text gravatar:string remember_token:string remember_token_expires_at:datetime
ruby script/generate scaffold location user_id:integer title:text desc:text lat:string long:string address:string city:string state:string zip:string country:string
ruby script/generate scaffold item user_id:integer location_id:integer title:string body:text rawbody:text published:boolean
image
user_id:integer
location_id:integer
pathname:string
title:string
desc:text
created_at:datetime
updated_at:datetime
item_image
item_id:integer
image_id:integer
created_at:datetime
updated_at:datetime
item_video
item_id:integer
video_id:integer
created_at:datetime
updated_at:datetime
video
user_id:integer
location_id:integer
title:string
desc:text
embed:text
created_at:datetime
updated_at:datetime