Updating change log and docs for Schema::drop.
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
- Fixed bug present when using Eloquent models with Twig.
|
||||
- Allow multiple views to be registered for a single composer.
|
||||
- Added `Request::set_env` method.
|
||||
- `Schema::drop` now accepts `$connection` as second parameter.
|
||||
|
||||
<a name="upgrade-3.2"></a>
|
||||
## Upgrading From 3.1
|
||||
|
||||
@@ -37,6 +37,10 @@ Let's go over this example. The **create** method tells the Schema builder that
|
||||
|
||||
Schema::drop('users');
|
||||
|
||||
#### Dropping a table from a given database connection:
|
||||
|
||||
Schema::drop('users', 'connection_name');
|
||||
|
||||
Sometimes you may need to specify the database connection on which the schema operation should be performed.
|
||||
|
||||
#### Specifying the connection to run the operation on:
|
||||
|
||||
Reference in New Issue
Block a user