summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-08-26 02:54:51 +0200
committerjomo <github@jomo.tv>2015-08-26 02:54:51 +0200
commit9edbdb7d553b925af55fdaa3a7448d8599e5cd37 (patch)
treedadbef6a02858cd25e4e4725c81c348ea723d954 /db
parent20d31494dc25af49ca102d6163e87d45920844fb (diff)
add strip_attributes
converts empty string to nil on the user model so unique indexes with null: true will not break
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 47a3f72..0f9ed93 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20150825232749) do
+ActiveRecord::Schema.define(version: 20150826002927) do
create_table "blogposts", force: true do |t|
t.string "title"