fuel/oil — Issue #62: Inexistent "rename_field" Magic Migration
Author: knudpotente
Created: 2011-11-06 21:56:21+00:00
State: open

The documentation mentions the existence of the following 'magic migration':

```
$ php oil generate migration rename_field_name_to_username
```

There does not seem to be any further documentation, and no example of how this is supposed to work - ie., if I have 2 tables with the same field name, how is the migration going to know which field (from which table) I'm trying to rename?

I have tried using the command, but only get errors:

```
knud$ oil g migration rename_field_salary1_to_salary999
Error - Database method Fuel\Core\Database_PDO_Connection::list_columns is not supported by Fuel\Core\Database_PDO_Connection in COREPATH/classes/database/pdo/connection.php on line 191
```