laravel/laravel — Issue #261: (Schema) SQLite indexes require a name
Author: sparksp
Created: 2012-01-21 14:43:17+00:00
State: open

I've just be trying to figure out a rather cryptic PDO error and it all boils down to the fact that SQLite **requires** that indexes have names (they're not optional in SQLite). Can we make the `name` parameter required for indexes?

```php
unique('email');

// SQLite requires a unique index name
$table->unique('email', 'unique_users_email');
$table->drop_unique('unique_users_email');
});
```