public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
regenerated schema.rb using prettier field typing

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@3002 
567b1171-46fb-0310-a4c9-b4bef9110e78
psq (author)
Mon Oct 22 00:26:02 -0700 2007
commit  c10f85bd617ade5e496e8ed7f1b6b650084ac788
tree    b030b3310f511498a512297613f45ad77af71f1c
parent  ceb9543e7ff74b3f4ce9b0cd59cdd50c22774895
...
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
42
43
44
 
 
 
 
 
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
 
 
 
 
 
 
 
 
 
119
120
121
122
123
124
125
126
127
 
 
 
 
 
 
128
129
130
131
132
133
134
 
 
 
 
135
136
137
138
139
140
 
 
 
141
142
143
144
145
146
147
148
149
150
151
152
153
154
 
 
 
 
 
 
 
 
 
 
 
155
156
157
158
159
160
 
 
 
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
184
185
186
187
188
189
190
 
 
 
191
192
193
194
 
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
 
 
 
 
 
 
 
 
 
 
 
 
 
211
212
213
...
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
42
43
44
45
46
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
 
 
 
 
 
 
 
 
 
110
111
112
113
114
115
116
117
118
119
120
121
 
 
 
 
 
 
122
123
124
125
126
127
128
129
130
 
 
 
 
131
132
133
134
135
136
137
 
 
 
138
139
140
141
142
143
 
 
 
 
 
 
 
 
 
 
 
144
145
146
147
148
149
150
151
152
153
154
155
156
157
 
 
 
158
159
160
161
162
163
164
165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
 
 
 
188
189
190
191
192
193
 
194
195
196
197
 
 
 
 
 
 
 
 
 
 
 
 
 
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
0
@@ -5,209 +5,209 @@
0
 ActiveRecord::Schema.define(:version => 74) do
0
 
0
   create_table "assets", :force => true do |t|
0
- t.column "content_type", :string
0
- t.column "filename", :string
0
- t.column "size", :integer
0
- t.column "parent_id", :integer
0
- t.column "thumbnail", :string
0
- t.column "width", :integer
0
- t.column "height", :integer
0
- t.column "site_id", :integer
0
- t.column "created_at", :datetime
0
- t.column "title", :string
0
- t.column "thumbnails_count", :integer, :default => 0
0
- t.column "user_id", :integer
0
+ t.string "content_type"
0
+ t.string "filename"
0
+ t.integer "size"
0
+ t.integer "parent_id"
0
+ t.string "thumbnail"
0
+ t.integer "width"
0
+ t.integer "height"
0
+ t.integer "site_id"
0
+ t.datetime "created_at"
0
+ t.string "title"
0
+ t.integer "thumbnails_count", :default => 0
0
+ t.integer "user_id"
0
   end
0
 
0
   create_table "assigned_assets", :force => true do |t|
0
- t.column "article_id", :integer
0
- t.column "asset_id", :integer
0
- t.column "position", :integer
0
- t.column "label", :string
0
- t.column "created_at", :datetime
0
- t.column "active", :boolean
0
+ t.integer "article_id"
0
+ t.integer "asset_id"
0
+ t.integer "position"
0
+ t.string "label"
0
+ t.datetime "created_at"
0
+ t.boolean "active"
0
   end
0
 
0
   create_table "assigned_sections", :force => true do |t|
0
- t.column "article_id", :integer
0
- t.column "section_id", :integer
0
- t.column "position", :integer, :default => 1
0
+ t.integer "article_id"
0
+ t.integer "section_id"
0
+ t.integer "position", :default => 1
0
   end
0
 
0
   add_index "assigned_sections", ["article_id", "section_id"], :name => "idx_a_sections_article_section"
0
 
0
   create_table "cached_pages", :force => true do |t|
0
- t.column "url", :string
0
- t.column "references", :text
0
- t.column "updated_at", :datetime
0
- t.column "site_id", :integer
0
- t.column "cleared_at", :datetime
0
+ t.string "url"
0
+ t.text "references"
0
+ t.datetime "updated_at"
0
+ t.integer "site_id"
0
+ t.datetime "cleared_at"
0
   end
0
 
0
   create_table "content_versions", :force => true do |t|
0
- t.column "content_id", :integer
0
- t.column "version", :integer
0
- t.column "article_id", :integer
0
- t.column "user_id", :integer
0
- t.column "title", :string
0
- t.column "permalink", :string
0
- t.column "excerpt", :text
0
- t.column "body", :text
0
- t.column "excerpt_html", :text
0
- t.column "body_html", :text
0
- t.column "created_at", :datetime
0
- t.column "updated_at", :datetime
0
- t.column "published_at", :datetime
0
- t.column "author", :string, :limit => 100
0
- t.column "author_url", :string
0
- t.column "author_email", :string
0
- t.column "author_ip", :string, :limit => 100
0
- t.column "comments_count", :integer, :default => 0
0
- t.column "updater_id", :integer
0
- t.column "versioned_type", :string, :limit => 20
0
- t.column "site_id", :integer
0
- t.column "approved", :boolean, :default => false
0
- t.column "comment_age", :integer, :default => 0
0
- t.column "filter", :string
0
- t.column "user_agent", :string
0
- t.column "referrer", :string
0
- t.column "assets_count", :integer, :default => 0
0
+ t.integer "content_id"
0
+ t.integer "version"
0
+ t.integer "article_id"
0
+ t.integer "user_id"
0
+ t.string "title"
0
+ t.string "permalink"
0
+ t.text "excerpt"
0
+ t.text "body"
0
+ t.text "excerpt_html"
0
+ t.text "body_html"
0
+ t.datetime "created_at"
0
+ t.datetime "updated_at"
0
+ t.datetime "published_at"
0
+ t.string "author", :limit => 100
0
+ t.string "author_url"
0
+ t.string "author_email"
0
+ t.string "author_ip", :limit => 100
0
+ t.integer "comments_count", :default => 0
0
+ t.integer "updater_id"
0
+ t.string "versioned_type", :limit => 20
0
+ t.integer "site_id"
0
+ t.boolean "approved", :default => false
0
+ t.integer "comment_age", :default => 0
0
+ t.string "filter"
0
+ t.string "user_agent"
0
+ t.string "referrer"
0
+ t.integer "assets_count", :default => 0
0
   end
0
 
0
   create_table "contents", :force => true do |t|
0
- t.column "article_id", :integer
0
- t.column "user_id", :integer
0
- t.column "title", :string
0
- t.column "permalink", :string
0
- t.column "excerpt", :text
0
- t.column "body", :text
0
- t.column "excerpt_html", :text
0
- t.column "body_html", :text
0
- t.column "created_at", :datetime
0
- t.column "updated_at", :datetime
0
- t.column "published_at", :datetime
0
- t.column "type", :string, :limit => 20
0
- t.column "author", :string, :limit => 100
0
- t.column "author_url", :string
0
- t.column "author_email", :string
0
- t.column "author_ip", :string, :limit => 100
0
- t.column "comments_count", :integer, :default => 0
0
- t.column "updater_id", :integer
0
- t.column "version", :integer
0
- t.column "site_id", :integer
0
- t.column "approved", :boolean, :default => false
0
- t.column "comment_age", :integer, :default => 0
0
- t.column "filter", :string
0
- t.column "user_agent", :string
0
- t.column "referrer", :string
0
- t.column "assets_count", :integer, :default => 0
0
+ t.integer "article_id"
0
+ t.integer "user_id"
0
+ t.string "title"
0
+ t.string "permalink"
0
+ t.text "excerpt"
0
+ t.text "body"
0
+ t.text "excerpt_html"
0
+ t.text "body_html"
0
+ t.datetime "created_at"
0
+ t.datetime "updated_at"
0
+ t.datetime "published_at"
0
+ t.string "type", :limit => 20
0
+ t.string "author", :limit => 100
0
+ t.string "author_url"
0
+ t.string "author_email"
0
+ t.string "author_ip", :limit => 100
0
+ t.integer "comments_count", :default => 0
0
+ t.integer "updater_id"
0
+ t.integer "version"
0
+ t.integer "site_id"
0
+ t.boolean "approved", :default => false
0
+ t.integer "comment_age", :default => 0
0
+ t.string "filter"
0
+ t.string "user_agent"
0
+ t.string "referrer"
0
+ t.integer "assets_count", :default => 0
0
   end
0
 
0
   add_index "contents", ["published_at"], :name => "idx_articles_published"
0
   add_index "contents", ["article_id", "approved", "type"], :name => "idx_comments"
0
 
0
   create_table "events", :force => true do |t|
0
- t.column "mode", :string
0
- t.column "user_id", :integer
0
- t.column "article_id", :integer
0
- t.column "title", :text
0
- t.column "body", :text
0
- t.column "created_at", :datetime
0
- t.column "author", :string, :limit => 100
0
- t.column "comment_id", :integer
0
- t.column "site_id", :integer
0
+ t.string "mode"
0
+ t.integer "user_id"
0
+ t.integer "article_id"
0
+ t.text "title"
0
+ t.text "body"
0
+ t.datetime "created_at"
0
+ t.string "author", :limit => 100
0
+ t.integer "comment_id"
0
+ t.integer "site_id"
0
   end
0
 
0
   create_table "feedbacks", :force => true do |t|
0
- t.column "site_id", :integer
0
- t.column "name", :string
0
- t.column "email", :string
0
- t.column "body", :text
0
- t.column "key", :string
0
- t.column "created_at", :datetime
0
+ t.integer "site_id"
0
+ t.string "name"
0
+ t.string "email"
0
+ t.text "body"
0
+ t.string "key"
0
+ t.datetime "created_at"
0
   end
0
 
0
   create_table "memberships", :force => true do |t|
0
- t.column "site_id", :integer
0
- t.column "user_id", :integer
0
- t.column "created_at", :datetime
0
- t.column "admin", :boolean, :default => false
0
+ t.integer "site_id"
0
+ t.integer "user_id"
0
+ t.datetime "created_at"
0
+ t.boolean "admin", :default => false
0
   end
0
 
0
   create_table "mephisto_plugins", :force => true do |t|
0
- t.column "name", :string
0
- t.column "options", :text
0
- t.column "type", :string
0
+ t.string "name"
0
+ t.text "options"
0
+ t.string "type"
0
   end
0
 
0
   create_table "sections", :force => true do |t|
0
- t.column "name", :string
0
- t.column "show_paged_articles", :boolean, :default => false
0
- t.column "articles_per_page", :integer, :default => 15
0
- t.column "layout", :string
0
- t.column "template", :string
0
- t.column "site_id", :integer
0
- t.column "path", :string
0
- t.column "articles_count", :integer, :default => 0
0
- t.column "archive_path", :string
0
- t.column "archive_template", :string
0
- t.column "position", :integer, :default => 1
0
+ t.string "name"
0
+ t.boolean "show_paged_articles", :default => false
0
+ t.integer "articles_per_page", :default => 15
0
+ t.string "layout"
0
+ t.string "template"
0
+ t.integer "site_id"
0
+ t.string "path"
0
+ t.integer "articles_count", :default => 0
0
+ t.string "archive_path"
0
+ t.string "archive_template"
0
+ t.integer "position", :default => 1
0
   end
0
 
0
   create_table "sessions", :force => true do |t|
0
- t.column "session_id", :string
0
- t.column "data", :text
0
- t.column "updated_at", :datetime
0
+ t.string "session_id"
0
+ t.text "data"
0
+ t.datetime "updated_at"
0
   end
0
 
0
   add_index "sessions", ["session_id"], :name => "sessions_session_id_index"
0
 
0
   create_table "sites", :force => true do |t|
0
- t.column "title", :string
0
- t.column "subtitle", :string
0
- t.column "email", :string
0
- t.column "ping_urls", :text
0
- t.column "articles_per_page", :integer, :default => 15
0
- t.column "host", :string
0
- t.column "akismet_key", :string, :limit => 100
0
- t.column "akismet_url", :string
0
- t.column "approve_comments", :boolean
0
- t.column "comment_age", :integer
0
- t.column "timezone", :string
0
- t.column "filter", :string
0
- t.column "permalink_style", :string
0
- t.column "search_path", :string
0
- t.column "tag_path", :string
0
- t.column "tag_layout", :string
0
- t.column "current_theme_path", :string
0
+ t.string "title"
0
+ t.string "subtitle"
0
+ t.string "email"
0
+ t.text "ping_urls"
0
+ t.integer "articles_per_page", :default => 15
0
+ t.string "host"
0
+ t.string "akismet_key", :limit => 100
0
+ t.string "akismet_url"
0
+ t.boolean "approve_comments"
0
+ t.integer "comment_age"
0
+ t.string "timezone"
0
+ t.string "filter"
0
+ t.string "permalink_style"
0
+ t.string "search_path"
0
+ t.string "tag_path"
0
+ t.string "tag_layout"
0
+ t.string "current_theme_path"
0
   end
0
 
0
   add_index "sites", ["host"], :name => "index_sites_on_host"
0
 
0
   create_table "taggings", :force => true do |t|
0
- t.column "tag_id", :integer
0
- t.column "taggable_id", :integer
0
- t.column "taggable_type", :string
0
+ t.integer "tag_id"
0
+ t.integer "taggable_id"
0
+ t.string "taggable_type"
0
   end
0
 
0
   create_table "tags", :force => true do |t|
0
- t.column "name", :string
0
+ t.string "name"
0
   end
0
 
0
   create_table "users", :force => true do |t|
0
- t.column "login", :string, :limit => 40
0
- t.column "email", :string, :limit => 100
0
- t.column "crypted_password", :string, :limit => 40
0
- t.column "salt", :string, :limit => 40
0
- t.column "activation_code", :string, :limit => 40
0
- t.column "activated_at", :datetime
0
- t.column "created_at", :datetime
0
- t.column "updated_at", :datetime
0
- t.column "deleted_at", :datetime
0
- t.column "token", :string
0
- t.column "token_expires_at", :datetime
0
- t.column "filter", :string
0
- t.column "admin", :boolean, :default => false
0
+ t.string "login", :limit => 40
0
+ t.string "email", :limit => 100
0
+ t.string "crypted_password", :limit => 40
0
+ t.string "salt", :limit => 40
0
+ t.string "activation_code", :limit => 40
0
+ t.datetime "activated_at"
0
+ t.datetime "created_at"
0
+ t.datetime "updated_at"
0
+ t.datetime "deleted_at"
0
+ t.string "token"
0
+ t.datetime "token_expires_at"
0
+ t.string "filter"
0
+ t.boolean "admin", :default => false
0
   end
0
 
0
 end

Comments

    No one has commented yet.