Archived
fix sql uniqueness not working
turns out :unique is actually not an option, see http://apidock.com/rails/v4.2.1/ActiveRecord/ConnectionAdapters/TableDefinition/column weird enough this never caused trouble
This commit is contained in:
+2
-2
@@ -32,9 +32,9 @@ deleted_user = User.create!(
|
||||
deleted_user.update_attribute(:ign, "Steve")
|
||||
|
||||
User.create!(
|
||||
uuid: "9ff3d74f716940a3aa6f262ab632d2",
|
||||
uuid: "ae795aa86327408e92ab25c8a59f3ba1",
|
||||
ign: "jomo",
|
||||
email: "theredstonesheep@gmail.com",
|
||||
email: "jomo@example.com",
|
||||
password: "123456789", # high seructity!
|
||||
password_confirmation: "123456789",
|
||||
role: Role.get(:superadmin)
|
||||
|
||||
Reference in New Issue
Block a user