Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Stuff in Prep. For Pushing

  • Loading branch information...
commit 071f9d01146714943d3f64da488ced2ead56c154 1 parent 97015bb
@Sutto authored
Showing with 23 additions and 16 deletions.
  1. +0 −1  config/environments/development.rb
  2. +23 −15 db/schema.rb
View
1  config/environments/development.rb
@@ -12,7 +12,6 @@
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
-config.action_view.cache_template_extensions = false
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false
View
38 db/schema.rb
@@ -9,12 +9,12 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 15) do
+ActiveRecord::Schema.define(:version => 17) do
create_table "categories", :force => true do |t|
t.string "name"
t.string "title"
- t.integer "parent_id", :limit => 11
+ t.integer "parent_id"
t.string "query"
t.datetime "created_at"
t.datetime "updated_at"
@@ -23,8 +23,8 @@
create_table "comments", :force => true do |t|
t.text "content"
t.string "byline"
- t.integer "user_id", :limit => 11
- t.integer "item_id", :limit => 11
+ t.integer "user_id"
+ t.integer "item_id"
t.datetime "created_at"
t.datetime "updated_at"
end
@@ -35,27 +35,28 @@
t.text "content"
t.text "metadata"
t.string "name"
- t.text "tags"
- t.integer "user_id", :limit => 11
+ t.text "tags", :limit => 255
+ t.integer "user_id"
t.datetime "created_at"
t.datetime "updated_at"
t.string "byline"
- t.integer "comments_count", :limit => 11, :default => 0
- t.integer "stars_count", :limit => 11, :default => 0
+ t.integer "comments_count", :default => 0
+ t.integer "stars_count", :default => 0
+ t.integer "spam_reports_count", :default => 0
end
create_table "open_id_authentication_associations", :force => true do |t|
t.binary "server_url"
t.string "handle"
t.binary "secret"
- t.integer "issued", :limit => 11
- t.integer "lifetime", :limit => 11
+ t.integer "issued"
+ t.integer "lifetime"
t.string "assoc_type"
end
create_table "open_id_authentication_nonces", :force => true do |t|
t.string "nonce"
- t.integer "created", :limit => 11
+ t.integer "created"
end
create_table "open_id_authentication_settings", :force => true do |t|
@@ -63,9 +64,16 @@
t.binary "value"
end
+ create_table "spam_reports", :force => true do |t|
+ t.integer "item_id"
+ t.integer "user_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
create_table "stars", :force => true do |t|
- t.integer "user_id", :limit => 11
- t.integer "item_id", :limit => 11
+ t.integer "user_id"
+ t.integer "item_id"
end
create_table "users", :force => true do |t|
@@ -79,9 +87,9 @@
t.datetime "updated_at"
t.string "remember_token"
t.datetime "remember_token_expires_at"
- t.integer "admin", :limit => 11, :default => 0
+ t.integer "admin", :default => 0
t.string "identity_url"
- t.integer "approved_for_feed", :limit => 11, :default => 0
+ t.integer "approved_for_feed", :default => 0
t.datetime "last_checked_at"
end
Please sign in to comment.
Something went wrong with that request. Please try again.