以下是添加模块到现有 Devise 安装的说明:https://github.com/plataformatec/devise/wiki/How-To:-change-an-already-existing-table-to-add-devise-required-columns,但我似乎找不到
timeoutable
所需的必要列。我在 Devise 库中查找了 timeoutable
所需的字段:https://github.com/plataformatec/devise/blob/master/lib/devise/schema.rb,但在该模式文件中并没有这样的方法。该模型只有一个自定义方法,并未提及列:http://rdoc.info/github/plataformatec/devise/master/Devise/Models/Timeoutable。我应该如何添加此功能呢?谢谢。