Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add schemas for default value of tries

  • Loading branch information...
commit b981bb92cd617ff9dca3ee84e9333f08ce609957 1 parent d515d09
@shageman authored
Showing with 6 additions and 6 deletions.
  1. +3 −3 db/schema.rb
  2. +3 −3 engines/teaser/spec/dummy/db/schema.rb
View
6 db/schema.rb
@@ -15,9 +15,9 @@
create_table "teaser_entries", :force => true do |t|
t.string "email"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
- t.integer "tries"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ t.integer "tries", :default => 0
end
end
View
6 engines/teaser/spec/dummy/db/schema.rb
@@ -15,9 +15,9 @@
create_table "teaser_entries", :force => true do |t|
t.string "email"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
- t.integer "tries"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ t.integer "tries", :default => 0
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.