Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LBMC
yvertlab
mylabstocks
Commits
88754ff5
Verified
Commit
88754ff5
authored
Jul 22, 2021
by
Gael Yvert
Browse files
drop table pipet_usage (issue
#137
)
parent
f8f1b0e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
database/migrations/2021_07_22_141302_drop_pipet_usage_table.php
0 → 100644
View file @
88754ff5
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
DropPipetUsageTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
dropIfExists
(
'pipet_usage'
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
create
(
'pipet_usage'
,
function
(
Blueprint
$table
)
{
$table
->
bigIncrements
(
'id'
);
$table
->
string
(
'name'
,
100
)
->
nullable
(
$value
=
false
);
$table
->
timestamp
(
'created_at'
)
->
useCurrent
();
$table
->
timestamp
(
'updated_at'
)
->
useCurrent
();
});
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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