Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
L
library
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kanoon meysam tamar
library
Commits
097c59ca
Commit
097c59ca
authored
May 02, 2020
by
Mohammad Javad Ghasemy
🦈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
my best try to migration
parent
2d2f4ca1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
33 deletions
+1
-33
database/migrations/2020_04_20_061955_create_book_table.php
database/migrations/2020_04_20_061955_create_book_table.php
+1
-2
database/migrations/2020_04_22_124608_create_fucking_table.php
...ase/migrations/2020_04_22_124608_create_fucking_table.php
+0
-31
No files found.
database/migrations/2020_04_20_061955_create_book_table.php
View file @
097c59ca
...
...
@@ -15,8 +15,7 @@ class CreateBookTable extends Migration
{
Schema
::
create
(
'book'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
string
(
'name'
,
300
);
$table
->
string
(
'shabok'
,
300
);
$table
->
string
(
'isbn'
,
100
)
->
unique
();
$table
->
timestamps
();
});
}
...
...
database/migrations/2020_04_22_124608_create_fucking_table.php
deleted
100644 → 0
View file @
2d2f4ca1
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateFuckingTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'fucking'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
timestamps
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'fucking'
);
}
}
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