muck-raker 0.1.22 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,460 +0,0 @@
1
- # This file is auto-generated from the current state of the database. Instead of editing this file,
2
- # please use the migrations feature of Active Record to incrementally modify your database, and
3
- # then regenerate this schema definition.
4
- #
5
- # Note that this schema.rb definition is the authoritative source for your database schema. If you need
6
- # to create the application database on another system, you should be using db:schema:load, not running
7
- # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
8
- # you'll amass, the slower it'll run and the greater likelihood for issues).
9
- #
10
- # It's strongly recommended to check this file into your version control system.
11
-
12
- ActiveRecord::Schema.define(:version => 20090804211240) do
13
-
14
- create_table "action_types", :force => true do |t|
15
- t.string "action_type"
16
- t.integer "weight"
17
- end
18
-
19
- create_table "activities", :force => true do |t|
20
- t.integer "item_id"
21
- t.string "item_type"
22
- t.string "template"
23
- t.integer "source_id"
24
- t.string "source_type"
25
- t.text "content"
26
- t.string "title"
27
- t.boolean "is_status_update", :default => false
28
- t.boolean "is_public", :default => true
29
- t.datetime "created_at"
30
- t.datetime "updated_at"
31
- t.integer "comment_count", :default => 0
32
- end
33
-
34
- add_index "activities", ["item_id", "item_type"], :name => "index_activities_on_item_id_and_item_type"
35
-
36
- create_table "activity_feeds", :force => true do |t|
37
- t.integer "activity_id"
38
- t.integer "ownable_id"
39
- t.string "ownable_type"
40
- end
41
-
42
- add_index "activity_feeds", ["activity_id"], :name => "index_activity_feeds_on_activity_id"
43
- add_index "activity_feeds", ["ownable_id", "ownable_type"], :name => "index_activity_feeds_on_ownable_id_and_ownable_type"
44
-
45
- create_table "aggregation_feeds", :force => true do |t|
46
- t.integer "aggregation_id"
47
- t.integer "feed_id"
48
- end
49
-
50
- add_index "aggregation_feeds", ["aggregation_id"], :name => "index_aggregation_feeds_on_aggregation_id"
51
- add_index "aggregation_feeds", ["feed_id"], :name => "index_aggregation_feeds_on_feed_id"
52
-
53
- create_table "aggregations", :force => true do |t|
54
- t.string "name"
55
- t.string "title"
56
- t.text "description"
57
- t.text "top_tags"
58
- t.integer "user_id"
59
- t.datetime "created_at"
60
- t.datetime "updated_at"
61
- end
62
-
63
- add_index "aggregations", ["user_id"], :name => "index_aggregations_on_user_id"
64
-
65
- create_table "attentions", :force => true do |t|
66
- t.integer "attentionable_id"
67
- t.string "attentionable_type"
68
- t.integer "entry_id"
69
- t.string "action_type"
70
- t.float "weight"
71
- end
72
-
73
- create_table "clicks", :force => true do |t|
74
- t.integer "recommendation_id"
75
- t.datetime "when", :null => false
76
- t.string "referrer", :limit => 2083
77
- t.string "requester"
78
- t.string "user_agent", :limit => 2083
79
- end
80
-
81
- add_index "clicks", ["recommendation_id"], :name => "index_clicks_on_recommendation_id"
82
- add_index "clicks", ["referrer"], :name => "index_clicks_on_referrer"
83
- add_index "clicks", ["requester"], :name => "index_clicks_on_requester"
84
- add_index "clicks", ["user_agent"], :name => "index_clicks_on_user_agent"
85
- add_index "clicks", ["when"], :name => "index_clicks_on_when"
86
-
87
- create_table "comments", :force => true do |t|
88
- t.integer "commentable_id", :default => 0
89
- t.string "commentable_type", :limit => 15, :default => ""
90
- t.text "body"
91
- t.integer "user_id"
92
- t.integer "parent_id"
93
- t.integer "lft"
94
- t.integer "rgt"
95
- t.integer "is_denied", :default => 0, :null => false
96
- t.boolean "is_reviewed", :default => false
97
- t.datetime "created_at"
98
- t.datetime "updated_at"
99
- end
100
-
101
- add_index "comments", ["commentable_id", "commentable_type"], :name => "index_comments_on_commentable_id_and_commentable_type"
102
- add_index "comments", ["user_id"], :name => "index_comments_on_user_id"
103
-
104
- create_table "countries", :force => true do |t|
105
- t.string "name", :limit => 128, :default => "", :null => false
106
- t.string "abbreviation", :limit => 3, :default => "", :null => false
107
- t.integer "sort", :default => 1000, :null => false
108
- end
109
-
110
- add_index "countries", ["abbreviation"], :name => "index_countries_on_abbreviation"
111
- add_index "countries", ["name"], :name => "index_countries_on_name"
112
-
113
- create_table "entries", :force => true do |t|
114
- t.integer "feed_id", :null => false
115
- t.string "permalink", :limit => 2083, :default => "", :null => false
116
- t.string "author", :limit => 2083
117
- t.text "title", :null => false
118
- t.text "description"
119
- t.text "content"
120
- t.boolean "unique_content", :default => false
121
- t.datetime "published_at", :null => false
122
- t.datetime "entry_updated_at"
123
- t.datetime "harvested_at"
124
- t.string "oai_identifier", :limit => 2083
125
- t.integer "language_id"
126
- t.string "direct_link", :limit => 2083
127
- t.datetime "indexed_at", :default => '1971-01-01 01:01:01', :null => false
128
- t.datetime "relevance_calculated_at", :default => '1971-01-01 01:01:01', :null => false
129
- t.text "popular"
130
- t.text "relevant"
131
- t.text "other"
132
- t.string "grain_size", :default => "unknown"
133
- t.integer "comment_count", :default => 0
134
- end
135
-
136
- add_index "entries", ["direct_link"], :name => "index_entries_on_direct_link"
137
- add_index "entries", ["feed_id"], :name => "index_entries_on_feed_id"
138
- add_index "entries", ["grain_size"], :name => "index_entries_on_grain_size"
139
- add_index "entries", ["indexed_at"], :name => "index_entries_on_indexed_at"
140
- add_index "entries", ["language_id"], :name => "index_entries_on_language_id"
141
- add_index "entries", ["oai_identifier"], :name => "index_entries_on_oai_identifier"
142
- add_index "entries", ["permalink"], :name => "index_entries_on_permalink"
143
- add_index "entries", ["published_at"], :name => "index_entries_on_published_at"
144
- add_index "entries", ["relevance_calculated_at"], :name => "index_entries_on_relevance_calculated_at"
145
-
146
- create_table "entries_subjects", :id => false, :force => true do |t|
147
- t.integer "subject_id", :default => 0, :null => false
148
- t.integer "entry_id", :default => 0, :null => false
149
- t.boolean "autogenerated", :default => false
150
- end
151
-
152
- add_index "entries_subjects", ["autogenerated"], :name => "index_entries_subjects_on_autogenerated"
153
- add_index "entries_subjects", ["entry_id"], :name => "index_entries_subjects_on_entry_id"
154
- add_index "entries_subjects", ["subject_id"], :name => "index_entries_subjects_on_subject_id"
155
-
156
- create_table "entries_users", :force => true do |t|
157
- t.integer "entry_id", :null => false
158
- t.integer "user_id", :default => 0
159
- t.boolean "clicked_through", :default => false
160
- t.datetime "created_at"
161
- end
162
-
163
- add_index "entries_users", ["entry_id", "user_id"], :name => "index_entries_users_on_entry_id_and_user_id"
164
- add_index "entries_users", ["entry_id"], :name => "index_entries_users_on_entry_id"
165
- add_index "entries_users", ["user_id"], :name => "index_entries_users_on_user_id"
166
-
167
- create_table "entry_images", :force => true do |t|
168
- t.integer "entry_id"
169
- t.string "uri", :limit => 2083
170
- t.string "link", :limit => 2083
171
- t.string "alt"
172
- t.string "title"
173
- t.integer "width"
174
- t.integer "height"
175
- end
176
-
177
- add_index "entry_images", ["entry_id"], :name => "index_entry_images_on_entry_id"
178
-
179
- create_table "feed_parents", :force => true do |t|
180
- t.integer "feed_id"
181
- t.integer "ownable_id"
182
- t.string "ownable_type"
183
- t.datetime "created_at"
184
- t.datetime "updated_at"
185
- end
186
-
187
- add_index "feed_parents", ["feed_id"], :name => "index_feed_parents_on_feed_id"
188
- add_index "feed_parents", ["ownable_id", "ownable_type"], :name => "index_feed_parents_on_ownable_id_and_ownable_type"
189
-
190
- create_table "feeds", :force => true do |t|
191
- t.string "uri", :limit => 2083
192
- t.string "display_uri", :limit => 2083
193
- t.string "title", :limit => 1000
194
- t.string "short_title", :limit => 100
195
- t.text "description"
196
- t.string "tag_filter", :limit => 1000
197
- t.text "top_tags"
198
- t.integer "priority", :default => 10
199
- t.integer "status", :default => 1
200
- t.datetime "last_requested_at", :default => '1969-01-01 00:00:00'
201
- t.datetime "last_harvested_at", :default => '1969-01-01 00:00:00'
202
- t.integer "harvest_interval", :default => 86400
203
- t.integer "failed_requests", :default => 0
204
- t.text "error_message"
205
- t.integer "service_id", :default => 0
206
- t.string "login"
207
- t.string "password"
208
- t.datetime "created_at"
209
- t.datetime "updated_at"
210
- t.datetime "entries_changed_at"
211
- t.string "harvested_from_display_uri", :limit => 2083
212
- t.string "harvested_from_title", :limit => 1000
213
- t.string "harvested_from_short_title", :limit => 100
214
- t.integer "entries_count"
215
- t.integer "default_language_id", :default => 0
216
- t.string "default_grain_size", :default => "unknown"
217
- t.integer "contributor_id"
218
- t.string "etag"
219
- end
220
-
221
- add_index "feeds", ["service_id"], :name => "index_feeds_on_service_id"
222
- add_index "feeds", ["uri"], :name => "index_feeds_on_uri"
223
-
224
- create_table "languages", :force => true do |t|
225
- t.string "name"
226
- t.string "english_name"
227
- t.string "locale"
228
- t.boolean "supported", :default => true
229
- t.integer "is_default", :default => 0
230
- t.boolean "muck_raker_supported", :default => false
231
- t.integer "indexed_records", :default => 0
232
- end
233
-
234
- add_index "languages", ["locale"], :name => "index_languages_on_locale"
235
- add_index "languages", ["muck_raker_supported"], :name => "index_languages_on_muck_raker_supported"
236
- add_index "languages", ["name"], :name => "index_languages_on_name"
237
-
238
- create_table "micro_concerts", :force => true do |t|
239
- t.integer "micro_event_id"
240
- t.string "performer"
241
- t.string "ticket_url", :limit => 2083
242
- end
243
-
244
- add_index "micro_concerts", ["micro_event_id"], :name => "index_micro_concerts_on_micro_event_id"
245
-
246
- create_table "micro_conferences", :force => true do |t|
247
- t.integer "micro_event_id"
248
- t.string "theme"
249
- t.datetime "register_by"
250
- t.datetime "submit_by"
251
- end
252
-
253
- add_index "micro_conferences", ["micro_event_id"], :name => "index_micro_conferences_on_micro_event_id"
254
-
255
- create_table "micro_event_links", :force => true do |t|
256
- t.integer "micro_event_id"
257
- t.string "uri"
258
- t.string "title"
259
- end
260
-
261
- add_index "micro_event_links", ["micro_event_id"], :name => "index_micro_event_links_on_micro_event_id"
262
-
263
- create_table "micro_event_people", :force => true do |t|
264
- t.integer "micro_event_id"
265
- t.string "name"
266
- t.string "role"
267
- t.string "email"
268
- t.string "link", :limit => 2083
269
- t.string "phone"
270
- end
271
-
272
- add_index "micro_event_people", ["micro_event_id"], :name => "index_micro_event_people_on_micro_event_id"
273
-
274
- create_table "micro_events", :force => true do |t|
275
- t.integer "entry_id", :null => false
276
- t.string "name", :null => false
277
- t.text "description"
278
- t.string "price"
279
- t.text "image"
280
- t.text "address"
281
- t.text "subaddress"
282
- t.string "city"
283
- t.string "state"
284
- t.string "postcode"
285
- t.string "country"
286
- t.datetime "begins", :null => false
287
- t.datetime "ends"
288
- t.text "tags"
289
- t.string "duration"
290
- t.text "location"
291
- end
292
-
293
- add_index "micro_events", ["entry_id"], :name => "index_micro_events_on_entry_id"
294
-
295
- create_table "oai_endpoints", :force => true do |t|
296
- t.string "uri", :limit => 2083
297
- t.string "display_uri", :limit => 2083
298
- t.string "metadata_prefix"
299
- t.string "title", :limit => 1000
300
- t.string "short_title", :limit => 100
301
- end
302
-
303
- create_table "permissions", :force => true do |t|
304
- t.integer "role_id", :null => false
305
- t.integer "user_id", :null => false
306
- t.datetime "created_at"
307
- t.datetime "updated_at"
308
- end
309
-
310
- create_table "personal_recommendations", :force => true do |t|
311
- t.integer "personal_recommendable_id"
312
- t.string "personal_recommendable_type"
313
- t.integer "destination_id"
314
- t.string "destination_type"
315
- t.integer "rank"
316
- t.float "relevance"
317
- end
318
-
319
- create_table "queries", :force => true do |t|
320
- t.text "name"
321
- t.integer "frequency"
322
- end
323
-
324
- create_table "recommendations", :force => true do |t|
325
- t.integer "entry_id"
326
- t.integer "dest_entry_id"
327
- t.integer "rank"
328
- t.decimal "relevance", :precision => 8, :scale => 6, :default => 0.0
329
- t.integer "clicks", :default => 0
330
- t.integer "avg_time_at_dest", :default => 60
331
- end
332
-
333
- add_index "recommendations", ["dest_entry_id"], :name => "index_recommendations_on_dest_entry_id"
334
- add_index "recommendations", ["entry_id"], :name => "index_recommendations_on_entry_id"
335
-
336
- create_table "roles", :force => true do |t|
337
- t.string "rolename"
338
- t.datetime "created_at"
339
- t.datetime "updated_at"
340
- end
341
-
342
- create_table "services", :force => true do |t|
343
- t.string "uri", :limit => 2083, :default => ""
344
- t.string "name", :limit => 1000, :default => ""
345
- t.string "api_uri", :limit => 2083, :default => ""
346
- t.string "uri_template", :limit => 2083, :default => ""
347
- t.string "icon", :limit => 2083, :default => "rss.gif"
348
- t.integer "sequence"
349
- t.boolean "requires_password", :default => false
350
- end
351
-
352
- create_table "shares", :force => true do |t|
353
- t.string "uri", :limit => 2083, :default => "", :null => false
354
- t.string "title"
355
- t.text "message"
356
- t.integer "shared_by_id", :null => false
357
- t.integer "shared_to_id"
358
- t.datetime "created_at"
359
- t.datetime "updated_at"
360
- t.integer "entry_id"
361
- end
362
-
363
- add_index "shares", ["shared_by_id"], :name => "index_shares_on_shared_by_id"
364
- add_index "shares", ["shared_to_id"], :name => "index_shares_on_shared_to_id"
365
-
366
- create_table "slugs", :force => true do |t|
367
- t.string "name"
368
- t.integer "sluggable_id"
369
- t.integer "sequence", :default => 1, :null => false
370
- t.string "sluggable_type", :limit => 40
371
- t.string "scope", :limit => 40
372
- t.datetime "created_at"
373
- end
374
-
375
- add_index "slugs", ["name", "sluggable_type", "scope", "sequence"], :name => "index_slugs_on_name_and_sluggable_type_and_scope_and_sequence", :unique => true
376
- add_index "slugs", ["sluggable_id"], :name => "index_slugs_on_sluggable_id"
377
-
378
- create_table "states", :force => true do |t|
379
- t.string "name", :limit => 128, :default => "", :null => false
380
- t.string "abbreviation", :limit => 3, :default => "", :null => false
381
- t.integer "country_id", :limit => 8, :null => false
382
- end
383
-
384
- add_index "states", ["abbreviation"], :name => "index_states_on_abbreviation"
385
- add_index "states", ["country_id"], :name => "index_states_on_country_id"
386
- add_index "states", ["name"], :name => "index_states_on_name"
387
-
388
- create_table "subjects", :force => true do |t|
389
- t.string "name"
390
- end
391
-
392
- create_table "tag_clouds", :force => true do |t|
393
- t.integer "language_id"
394
- t.string "filter"
395
- t.string "tag_list", :limit => 5000
396
- t.string "grain_size", :default => "all"
397
- end
398
-
399
- add_index "tag_clouds", ["grain_size", "language_id", "filter"], :name => "index_tag_clouds_on_grain_size_and_language_id_and_filter", :unique => true
400
-
401
- create_table "taggings", :force => true do |t|
402
- t.integer "tag_id"
403
- t.integer "taggable_id"
404
- t.integer "tagger_id"
405
- t.string "tagger_type"
406
- t.string "taggable_type"
407
- t.string "context"
408
- t.datetime "created_at"
409
- end
410
-
411
- add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
412
- add_index "taggings", ["taggable_id", "taggable_type", "context"], :name => "index_taggings_on_taggable_id_and_taggable_type_and_context"
413
-
414
- create_table "tags", :force => true do |t|
415
- t.string "name"
416
- end
417
-
418
- create_table "users", :force => true do |t|
419
- t.string "login"
420
- t.string "email"
421
- t.string "first_name"
422
- t.string "last_name"
423
- t.string "crypted_password"
424
- t.string "password_salt"
425
- t.string "persistence_token"
426
- t.string "single_access_token"
427
- t.string "perishable_token"
428
- t.integer "login_count", :default => 0, :null => false
429
- t.integer "failed_login_count", :default => 0, :null => false
430
- t.datetime "last_request_at"
431
- t.datetime "last_login_at"
432
- t.datetime "current_login_at"
433
- t.string "current_login_ip"
434
- t.string "last_login_ip"
435
- t.boolean "terms_of_service", :default => false, :null => false
436
- t.string "time_zone", :default => "UTC"
437
- t.datetime "disabled_at"
438
- t.datetime "activated_at"
439
- t.datetime "created_at"
440
- t.datetime "updated_at"
441
- end
442
-
443
- add_index "users", ["email"], :name => "index_users_on_email"
444
- add_index "users", ["last_request_at"], :name => "index_users_on_last_request_at"
445
- add_index "users", ["login"], :name => "index_users_on_login"
446
- add_index "users", ["perishable_token"], :name => "index_users_on_perishable_token"
447
- add_index "users", ["persistence_token"], :name => "index_users_on_persistence_token"
448
- add_index "users", ["single_access_token"], :name => "index_users_on_single_access_token"
449
-
450
- create_table "watched_pages", :force => true do |t|
451
- t.integer "entry_id"
452
- t.datetime "harvested_at"
453
- t.boolean "has_microformats", :default => false
454
- t.datetime "created_at"
455
- t.datetime "updated_at"
456
- end
457
-
458
- add_index "watched_pages", ["entry_id"], :name => "index_watched_pages_on_entry_id"
459
-
460
- end