Permalink
Browse files

Artifact

  • Loading branch information...
1 parent bbd16d5 commit bfc46c23d75cdfcbe3123235c2e69e612c08d2f4 @practicingruby practicingruby committed with jordanbyron Feb 18, 2013
Showing with 19 additions and 18 deletions.
  1. +19 −18 db/schema.rb
View
@@ -17,8 +17,8 @@
t.text "title"
t.text "body"
t.integer "author_id"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
t.boolean "broadcast", :default => false, :null => false
t.text "broadcast_message"
t.string "url"
@@ -28,8 +28,8 @@
t.integer "user_id"
t.integer "article_id"
t.integer "views", :default => 1
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
create_table "articles", :force => true do |t|
@@ -50,15 +50,15 @@
t.text "github_nickname"
t.text "secret"
t.integer "authorization_id"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
create_table "authorizations", :force => true do |t|
t.text "github_uid"
t.integer "user_id"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
create_table "collections", :force => true do |t|
@@ -76,8 +76,8 @@
t.string "commentable_type"
t.integer "user_id"
t.text "body"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
create_table "credit_cards", :force => true do |t|
@@ -98,8 +98,8 @@
t.datetime "locked_at"
t.datetime "failed_at"
t.string "locked_by"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
t.string "queue"
end
@@ -114,8 +114,8 @@
t.text "subject"
t.text "content"
t.datetime "sent_at"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
create_table "payment_logs", :force => true do |t|
@@ -139,8 +139,8 @@
t.integer "article_id"
t.text "secret"
t.integer "views"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
create_table "subscriptions", :force => true do |t|
@@ -156,8 +156,9 @@
t.text "first_name"
t.text "last_name"
t.text "email"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.text "mailchimp_web_id"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
t.text "github_nickname"
t.boolean "admin", :default => false
t.boolean "notify_conversations", :default => true, :null => false

0 comments on commit bfc46c2

Please sign in to comment.