Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 73f38911
authored
Sep 26, 2020
by
Jonathan Reinink
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add "failed_jobs" migration and cleanup migrations
1 parent
e79e7994
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
111 additions
and
0 deletions
database/migrations/2019_03_05_000000_create_password_resets_table.php → database/migrations/2020_01_01_000001_create_password_resets_table.php
database/migrations/2020_01_01_000002_create_failed_jobs_table.php
database/migrations/2019_03_05_000000_create_accounts_table.php → database/migrations/2020_01_01_000003_create_accounts_table.php
database/migrations/2019_03_05_000000_create_users_table.php → database/migrations/2020_01_01_000004_create_users_table.php
database/migrations/2019_03_05_000000_create_organizations_table.php → database/migrations/2020_01_01_000005_create_organizations_table.php
database/migrations/2019_03_05_000000_create_contacts_table.php → database/migrations/2020_01_01_000006_create_contacts_table.php
database/migrations/20
19_03_05_000000
_create_password_resets_table.php
→
database/migrations/20
20_01_01_000001
_create_password_resets_table.php
100644 → 100755
View file @
73f3891
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
class
CreatePasswordResetsTable
extends
Migration
class
CreatePasswordResetsTable
extends
Migration
{
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'password_resets'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'password_resets'
,
function
(
Blueprint
$table
)
{
...
@@ -14,4 +19,14 @@ class CreatePasswordResetsTable extends Migration
...
@@ -14,4 +19,14 @@ class CreatePasswordResetsTable extends Migration
$table
->
timestamp
(
'created_at'
)
->
nullable
();
$table
->
timestamp
(
'created_at'
)
->
nullable
();
});
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'password_resets'
);
}
}
}
database/migrations/2020_01_01_000002_create_failed_jobs_table.php
0 → 100755
View file @
73f3891
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateFailedJobsTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'failed_jobs'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
string
(
'uuid'
)
->
unique
();
$table
->
text
(
'connection'
);
$table
->
text
(
'queue'
);
$table
->
longText
(
'payload'
);
$table
->
longText
(
'exception'
);
$table
->
timestamp
(
'failed_at'
)
->
useCurrent
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'failed_jobs'
);
}
}
database/migrations/20
19_03_05_000000
_create_accounts_table.php
→
database/migrations/20
20_01_01_000003
_create_accounts_table.php
View file @
73f3891
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
class
CreateAccountsTable
extends
Migration
class
CreateAccountsTable
extends
Migration
{
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'accounts'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'accounts'
,
function
(
Blueprint
$table
)
{
...
@@ -14,4 +19,14 @@ class CreateAccountsTable extends Migration
...
@@ -14,4 +19,14 @@ class CreateAccountsTable extends Migration
$table
->
timestamps
();
$table
->
timestamps
();
});
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'accounts'
);
}
}
}
database/migrations/20
19_03_05_000000
_create_users_table.php
→
database/migrations/20
20_01_01_000004
_create_users_table.php
View file @
73f3891
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
class
CreateUsersTable
extends
Migration
class
CreateUsersTable
extends
Migration
{
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'users'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'users'
,
function
(
Blueprint
$table
)
{
...
@@ -22,4 +27,14 @@ class CreateUsersTable extends Migration
...
@@ -22,4 +27,14 @@ class CreateUsersTable extends Migration
$table
->
softDeletes
();
$table
->
softDeletes
();
});
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'users'
);
}
}
}
database/migrations/20
19_03_05_000000
_create_organizations_table.php
→
database/migrations/20
20_01_01_000005
_create_organizations_table.php
View file @
73f3891
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
class
CreateOrganizationsTable
extends
Migration
class
CreateOrganizationsTable
extends
Migration
{
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'organizations'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'organizations'
,
function
(
Blueprint
$table
)
{
...
@@ -23,4 +28,14 @@ class CreateOrganizationsTable extends Migration
...
@@ -23,4 +28,14 @@ class CreateOrganizationsTable extends Migration
$table
->
softDeletes
();
$table
->
softDeletes
();
});
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'organizations'
);
}
}
}
database/migrations/20
19_03_05_000000
_create_contacts_table.php
→
database/migrations/20
20_01_01_000006
_create_contacts_table.php
View file @
73f3891
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
...
@@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema;
class
CreateContactsTable
extends
Migration
class
CreateContactsTable
extends
Migration
{
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'contacts'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'contacts'
,
function
(
Blueprint
$table
)
{
...
@@ -25,4 +30,14 @@ class CreateContactsTable extends Migration
...
@@ -25,4 +30,14 @@ class CreateContactsTable extends Migration
$table
->
softDeletes
();
$table
->
softDeletes
();
});
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'contacts'
);
}
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment