Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3f-timesheet
Overview
Overview
Details
Activity
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
dockers
3f-timesheet
Commits
19fc6702
Commit
19fc6702
authored
Sep 14, 2022
by
hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migration project mandays
parent
642d81d1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
65 deletions
+1
-65
database/migrations/2022_09_13_141700_create_project_mandays_table.php
+1
-1
database/migrations/2022_09_14_124852_rename_column_in_project_mandays.php
+0
-32
database/migrations/2022_09_14_125201_rename_column_in_project_mandays.php
+0
-32
No files found.
database/migrations/2022_09_13_1
14608
_create_project_mandays_table.php
→
database/migrations/2022_09_13_1
41700
_create_project_mandays_table.php
View file @
19fc6702
...
@@ -15,7 +15,7 @@ class CreateProjectMandaysTable extends Migration
...
@@ -15,7 +15,7 @@ class CreateProjectMandaysTable extends Migration
{
{
Schema
::
create
(
'project_mandays'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'project_mandays'
,
function
(
Blueprint
$table
)
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'fk_project
_team
'
)
->
unsigned
()
->
nullable
();
$table
->
integer
(
'fk_project'
)
->
unsigned
()
->
nullable
();
$table
->
integer
(
'pm_roles'
)
->
unsigned
()
->
nullable
();
$table
->
integer
(
'pm_roles'
)
->
unsigned
()
->
nullable
();
$table
->
double
(
'pm_days'
,
10
,
2
)
->
unsigned
()
->
nullable
();
$table
->
double
(
'pm_days'
,
10
,
2
)
->
unsigned
()
->
nullable
();
$table
->
double
(
'pm_hours'
,
10
,
2
)
->
unsigned
()
->
nullable
();
$table
->
double
(
'pm_hours'
,
10
,
2
)
->
unsigned
()
->
nullable
();
...
...
database/migrations/2022_09_14_124852_rename_column_in_project_mandays.php
deleted
100644 → 0
View file @
642d81d1
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
RenameColumnInProjectMandays
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'project_mandays'
,
function
(
Blueprint
$table
)
{
$table
->
renameColumn
(
'fk_project_team'
,
'fk_project'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'project_mandays'
,
function
(
Blueprint
$table
)
{
$table
->
renameColumn
(
'fk_project'
,
'fk_project_team'
);
});
}
}
database/migrations/2022_09_14_125201_rename_column_in_project_mandays.php
deleted
100644 → 0
View file @
642d81d1
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
RenameColumnInProjectMandays
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'project_mandayscd'
,
function
(
Blueprint
$table
)
{
//
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'project_mandayscd'
,
function
(
Blueprint
$table
)
{
//
});
}
}
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