Skip to content

Commit 90aca59

Browse files
committed
Remove 'gender' column from existing migration and spec schema.
This column is not being dropped from existing databases to preserve existing data.
1 parent 3616796 commit 90aca59

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

db/migrate/20131015124700_create_alchemy_users.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ def up
66
t.string "lastname"
77
t.string "login"
88
t.string "email"
9-
t.string "gender"
109
t.string "language"
1110
t.string "encrypted_password", limit: 128, default: "", null: false
1211
t.string "password_salt", limit: 128, default: "", null: false

spec/dummy/db/schema.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@
276276
t.string "lastname"
277277
t.string "login"
278278
t.string "email"
279-
t.string "gender"
280279
t.string "language"
281280
t.string "encrypted_password", limit: 128, default: "", null: false
282281
t.string "password_salt", limit: 128, default: "", null: false

0 commit comments

Comments
 (0)