Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
bb506bb3
Commit
bb506bb3
authored
Apr 20, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating change log and docs for Schema::drop.
parent
a92ab1ca
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
changes.md
laravel/documentation/changes.md
+1
-0
schema.md
laravel/documentation/database/schema.md
+4
-0
No files found.
laravel/documentation/changes.md
View file @
bb506bb3
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
-
Fixed bug present when using Eloquent models with Twig.
-
Fixed bug present when using Eloquent models with Twig.
-
Allow multiple views to be registered for a single composer.
-
Allow multiple views to be registered for a single composer.
-
Added
`Request::set_env`
method.
-
Added
`Request::set_env`
method.
-
`Schema::drop`
now accepts
`$connection`
as second parameter.
<a
name=
"upgrade-3.2"
></a>
<a
name=
"upgrade-3.2"
></a>
## Upgrading From 3.1
## Upgrading From 3.1
...
...
laravel/documentation/database/schema.md
View file @
bb506bb3
...
@@ -37,6 +37,10 @@ Let's go over this example. The **create** method tells the Schema builder that
...
@@ -37,6 +37,10 @@ Let's go over this example. The **create** method tells the Schema builder that
Schema::drop('users');
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.
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:
#### Specifying the connection to run the operation on:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment