```ruby
class RenameresourceToResource < ActiveRecord::Migration
  def change
    rename_table :resources, :resources
  end
end
```

Fix erroneous search/replace in migration
user
```ruby
class RenameBookableToResource < ActiveRecord::Migration
  def change
    rename_table :bookables, :resources
  end
end
```
assistant