Incorrect table name in generated migration

After running the generator:
`rails generate devise_uid DeviceUser`  (the model represents users of electronic devices )

```ruby
class DeviseUidAddToDeviceUsers < ActiveRecord::Migration
  def change
    add_column :users, :uid, :string
    add_index :users, :uid, :unique => true
  end
end
```
the generated file references the _users_ table and not _device__users_ for the add_column and add_index lines.