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
67696d81
Commit
67696d81
authored
Jan 24, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index names may be specified on fluent setup.
parent
4806bccb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
bundle.php
laravel/bundle.php
+2
-2
schema.php
laravel/database/schema.php
+3
-2
fluent.php
laravel/fluent.php
+1
-1
No files found.
laravel/bundle.php
View file @
67696d81
...
@@ -40,8 +40,6 @@ class Bundle {
...
@@ -40,8 +40,6 @@ class Bundle {
throw
new
\Exception
(
"Bundle [
$bundle
] has not been installed."
);
throw
new
\Exception
(
"Bundle [
$bundle
] has not been installed."
);
}
}
static
::
$started
[]
=
strtolower
(
$bundle
);
// Each bundle may have a "start" script which is responsible for preparing
// Each bundle may have a "start" script which is responsible for preparing
// the bundle for use by the application. The start script may register any
// the bundle for use by the application. The start script may register any
// classes the bundle uses with the auto-loader, or perhaps will start any
// classes the bundle uses with the auto-loader, or perhaps will start any
...
@@ -55,6 +53,8 @@ class Bundle {
...
@@ -55,6 +53,8 @@ class Bundle {
// registering the bundle's routes. This is kept separate from the
// registering the bundle's routes. This is kept separate from the
// start script for reverse routing efficiency purposes.
// start script for reverse routing efficiency purposes.
static
::
routes
(
$bundle
);
static
::
routes
(
$bundle
);
static
::
$started
[]
=
strtolower
(
$bundle
);
}
}
/**
/**
...
...
laravel/database/schema.php
View file @
67696d81
...
@@ -29,6 +29,7 @@ class Schema {
...
@@ -29,6 +29,7 @@ class Schema {
*/
*/
public
static
function
execute
(
$table
)
public
static
function
execute
(
$table
)
{
{
die
(
'here'
);
foreach
(
$table
->
commands
as
$command
)
foreach
(
$table
->
commands
as
$command
)
{
{
$connection
=
DB
::
connection
(
$table
->
connection
);
$connection
=
DB
::
connection
(
$table
->
connection
);
...
@@ -82,9 +83,9 @@ class Schema {
...
@@ -82,9 +83,9 @@ class Schema {
{
{
foreach
(
array
(
'primary'
,
'unique'
,
'fulltext'
,
'index'
)
as
$key
)
foreach
(
array
(
'primary'
,
'unique'
,
'fulltext'
,
'index'
)
as
$key
)
{
{
if
(
$column
->
$key
===
true
)
if
(
isset
(
$column
->
attributes
[
$key
])
)
{
{
$table
->
$key
(
$column
->
name
);
$table
->
$key
(
$column
->
name
,
$column
->
$key
);
}
}
}
}
}
}
...
...
laravel/fluent.php
View file @
67696d81
...
@@ -7,7 +7,7 @@ class Fluent {
...
@@ -7,7 +7,7 @@ class Fluent {
*
*
* @var array
* @var array
*/
*/
p
rotected
$attributes
=
array
();
p
ublic
$attributes
=
array
();
/**
/**
* Create a new fluent container instance.
* Create a new fluent container instance.
...
...
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