dre1080 / warden

More than just a user database auth package for FuelPHP
http://dre1080.github.com/warden
MIT License
46 stars 11 forks source link

Duplicate column name 'remember_token' #39

Closed spaquet closed 11 years ago

spaquet commented 11 years ago

1060 - Duplicate column name 'remember_token' [ ALTER TABLE ml01_users ADD remember_token varbinary(60) DEFAULT '' NULL ] in COREPATH/classes/database/mysql/connection.php on line 235

Looks like during php oil refine warden help a column is being created twice... What leads to the above error.

Using current master version (time of writing)

spaquet commented 11 years ago

The bug only occurs when creating with remember_me set to true. If set to false, tables are created just fine.

Workaround: creating with the remember_me feature deactivated and then enabling it.