Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
laravel-adminpanel
Commits
d57eb3b3
Commit
d57eb3b3
authored
Nov 02, 2017
by
Viral Solani
Committed by
StyleCI Bot
Nov 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply fixes from StyleCI
parent
08886a16
Changes
34
Show whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
946 additions
and
1054 deletions
+946
-1054
2017_11_02_060149_create_blog_categories_table.php
...ations/2017_11_02_060149_create_blog_categories_table.php
+28
-31
2017_11_02_060149_create_blog_map_categories_table.php
...ns/2017_11_02_060149_create_blog_map_categories_table.php
+24
-27
2017_11_02_060149_create_blog_map_tags_table.php
...grations/2017_11_02_060149_create_blog_map_tags_table.php
+24
-27
2017_11_02_060149_create_blog_tags_table.php
...e/migrations/2017_11_02_060149_create_blog_tags_table.php
+28
-31
2017_11_02_060149_create_blogs_table.php
database/migrations/2017_11_02_060149_create_blogs_table.php
+36
-39
2017_11_02_060149_create_cities_table.php
...base/migrations/2017_11_02_060149_create_cities_table.php
+25
-28
2017_11_02_060149_create_cms_pages_table.php
...e/migrations/2017_11_02_060149_create_cms_pages_table.php
+34
-37
2017_11_02_060149_create_countries_table.php
...e/migrations/2017_11_02_060149_create_countries_table.php
+24
-27
2017_11_02_060149_create_email_template_placeholders_table.php
...11_02_060149_create_email_template_placeholders_table.php
+24
-27
2017_11_02_060149_create_email_template_types_table.php
...s/2017_11_02_060149_create_email_template_types_table.php
+24
-27
2017_11_02_060149_create_email_templates_table.php
...ations/2017_11_02_060149_create_email_templates_table.php
+31
-34
2017_11_02_060149_create_faqs_table.php
database/migrations/2017_11_02_060149_create_faqs_table.php
+27
-30
2017_11_02_060149_create_history_table.php
...ase/migrations/2017_11_02_060149_create_history_table.php
+30
-33
2017_11_02_060149_create_history_types_table.php
...grations/2017_11_02_060149_create_history_types_table.php
+24
-27
2017_11_02_060149_create_menus_table.php
database/migrations/2017_11_02_060149_create_menus_table.php
+29
-32
2017_11_02_060149_create_modules_table.php
...ase/migrations/2017_11_02_060149_create_modules_table.php
+28
-31
2017_11_02_060149_create_notifications_table.php
...grations/2017_11_02_060149_create_notifications_table.php
+27
-30
2017_11_02_060149_create_password_resets_table.php
...ations/2017_11_02_060149_create_password_resets_table.php
+24
-27
2017_11_02_060149_create_permission_role_table.php
...ations/2017_11_02_060149_create_permission_role_table.php
+24
-27
2017_11_02_060149_create_permission_user_table.php
...ations/2017_11_02_060149_create_permission_user_table.php
+24
-27
2017_11_02_060149_create_permissions_table.php
...migrations/2017_11_02_060149_create_permissions_table.php
+30
-33
2017_11_02_060149_create_role_user_table.php
...e/migrations/2017_11_02_060149_create_role_user_table.php
+24
-27
2017_11_02_060149_create_roles_table.php
database/migrations/2017_11_02_060149_create_roles_table.php
+30
-33
2017_11_02_060149_create_sessions_table.php
...se/migrations/2017_11_02_060149_create_sessions_table.php
+27
-30
2017_11_02_060149_create_settings_table.php
...se/migrations/2017_11_02_060149_create_settings_table.php
+49
-52
2017_11_02_060149_create_social_logins_table.php
...grations/2017_11_02_060149_create_social_logins_table.php
+28
-31
2017_11_02_060149_create_states_table.php
...base/migrations/2017_11_02_060149_create_states_table.php
+26
-29
2017_11_02_060149_create_users_table.php
database/migrations/2017_11_02_060149_create_users_table.php
+41
-44
2017_11_02_060152_add_foreign_keys_to_history_table.php
...s/2017_11_02_060152_add_foreign_keys_to_history_table.php
+26
-30
2017_11_02_060152_add_foreign_keys_to_notifications_table.php
..._11_02_060152_add_foreign_keys_to_notifications_table.php
+24
-28
2017_11_02_060152_add_foreign_keys_to_permission_role_table.php
...1_02_060152_add_foreign_keys_to_permission_role_table.php
+26
-30
2017_11_02_060152_add_foreign_keys_to_permission_user_table.php
...1_02_060152_add_foreign_keys_to_permission_user_table.php
+26
-30
2017_11_02_060152_add_foreign_keys_to_role_user_table.php
...2017_11_02_060152_add_foreign_keys_to_role_user_table.php
+26
-30
2017_11_02_060152_add_foreign_keys_to_social_logins_table.php
..._11_02_060152_add_foreign_keys_to_social_logins_table.php
+24
-28
No files found.
database/migrations/2017_11_02_060149_create_blog_categories_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateBlogCategoriesTable
extends
Migration
{
class
CreateBlogCategoriesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateBlogCategoriesTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateBlogCategoriesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'blog_categories'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'blog_categories'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'name'
,
191
);
$table
->
string
(
'name'
,
191
);
$table
->
boolean
(
'status'
)
->
default
(
1
);
$table
->
boolean
(
'status'
)
->
default
(
1
);
...
@@ -24,7 +23,6 @@ class CreateBlogCategoriesTable extends Migration {
...
@@ -24,7 +23,6 @@ class CreateBlogCategoriesTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -34,5 +32,4 @@ class CreateBlogCategoriesTable extends Migration {
...
@@ -34,5 +32,4 @@ class CreateBlogCategoriesTable extends Migration {
{
{
Schema
::
drop
(
'blog_categories'
);
Schema
::
drop
(
'blog_categories'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_blog_map_categories_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateBlogMapCategoriesTable
extends
Migration
{
class
CreateBlogMapCategoriesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreateBlogMapCategoriesTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreateBlogMapCategoriesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'blog_map_categories'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'blog_map_categories'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'blog_id'
)
->
unsigned
()
->
index
();
$table
->
integer
(
'blog_id'
)
->
unsigned
()
->
index
();
$table
->
integer
(
'category_id'
)
->
unsigned
()
->
index
();
$table
->
integer
(
'category_id'
)
->
unsigned
()
->
index
();
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreateBlogMapCategoriesTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreateBlogMapCategoriesTable extends Migration {
{
{
Schema
::
drop
(
'blog_map_categories'
);
Schema
::
drop
(
'blog_map_categories'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_blog_map_tags_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateBlogMapTagsTable
extends
Migration
{
class
CreateBlogMapTagsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreateBlogMapTagsTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreateBlogMapTagsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'blog_map_tags'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'blog_map_tags'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'blog_id'
)
->
unsigned
()
->
index
();
$table
->
integer
(
'blog_id'
)
->
unsigned
()
->
index
();
$table
->
integer
(
'tag_id'
)
->
unsigned
()
->
index
();
$table
->
integer
(
'tag_id'
)
->
unsigned
()
->
index
();
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreateBlogMapTagsTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreateBlogMapTagsTable extends Migration {
{
{
Schema
::
drop
(
'blog_map_tags'
);
Schema
::
drop
(
'blog_map_tags'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_blog_tags_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateBlogTagsTable
extends
Migration
{
class
CreateBlogTagsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateBlogTagsTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateBlogTagsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'blog_tags'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'blog_tags'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'name'
,
191
);
$table
->
string
(
'name'
,
191
);
$table
->
boolean
(
'status'
)
->
default
(
1
);
$table
->
boolean
(
'status'
)
->
default
(
1
);
...
@@ -24,7 +23,6 @@ class CreateBlogTagsTable extends Migration {
...
@@ -24,7 +23,6 @@ class CreateBlogTagsTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -34,5 +32,4 @@ class CreateBlogTagsTable extends Migration {
...
@@ -34,5 +32,4 @@ class CreateBlogTagsTable extends Migration {
{
{
Schema
::
drop
(
'blog_tags'
);
Schema
::
drop
(
'blog_tags'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_blogs_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateBlogsTable
extends
Migration
{
class
CreateBlogsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateBlogsTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateBlogsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'blogs'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'blogs'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'name'
,
191
);
$table
->
string
(
'name'
,
191
);
$table
->
dateTime
(
'publish_datetime'
);
$table
->
dateTime
(
'publish_datetime'
);
...
@@ -24,7 +23,7 @@ class CreateBlogsTable extends Migration {
...
@@ -24,7 +23,7 @@ class CreateBlogsTable extends Migration {
$table
->
string
(
'slug'
,
191
)
->
nullable
();
$table
->
string
(
'slug'
,
191
)
->
nullable
();
$table
->
text
(
'meta_description'
,
65535
)
->
nullable
();
$table
->
text
(
'meta_description'
,
65535
)
->
nullable
();
$table
->
text
(
'meta_keywords'
,
65535
)
->
nullable
();
$table
->
text
(
'meta_keywords'
,
65535
)
->
nullable
();
$table
->
enum
(
'status'
,
array
(
'Published'
,
'Draft'
,
'InActive'
,
'Scheduled'
)
);
$table
->
enum
(
'status'
,
[
'Published'
,
'Draft'
,
'InActive'
,
'Scheduled'
]
);
$table
->
integer
(
'created_by'
)
->
unsigned
();
$table
->
integer
(
'created_by'
)
->
unsigned
();
$table
->
integer
(
'updated_by'
)
->
unsigned
()
->
nullable
();
$table
->
integer
(
'updated_by'
)
->
unsigned
()
->
nullable
();
$table
->
timestamps
();
$table
->
timestamps
();
...
@@ -32,7 +31,6 @@ class CreateBlogsTable extends Migration {
...
@@ -32,7 +31,6 @@ class CreateBlogsTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -42,5 +40,4 @@ class CreateBlogsTable extends Migration {
...
@@ -42,5 +40,4 @@ class CreateBlogsTable extends Migration {
{
{
Schema
::
drop
(
'blogs'
);
Schema
::
drop
(
'blogs'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_cities_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateCitiesTable
extends
Migration
{
class
CreateCitiesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateCitiesTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateCitiesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'cities'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'cities'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'state_id'
)
->
unsigned
()
->
index
();
$table
->
integer
(
'state_id'
)
->
unsigned
()
->
index
();
$table
->
string
(
'city'
,
191
);
$table
->
string
(
'city'
,
191
);
...
@@ -21,7 +20,6 @@ class CreateCitiesTable extends Migration {
...
@@ -21,7 +20,6 @@ class CreateCitiesTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -31,5 +29,4 @@ class CreateCitiesTable extends Migration {
...
@@ -31,5 +29,4 @@ class CreateCitiesTable extends Migration {
{
{
Schema
::
drop
(
'cities'
);
Schema
::
drop
(
'cities'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_cms_pages_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateCmsPagesTable
extends
Migration
{
class
CreateCmsPagesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateCmsPagesTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateCmsPagesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'cms_pages'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'cms_pages'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'title'
,
191
);
$table
->
string
(
'title'
,
191
);
$table
->
string
(
'page_slug'
,
191
)
->
unique
();
$table
->
string
(
'page_slug'
,
191
)
->
unique
();
...
@@ -30,7 +29,6 @@ class CreateCmsPagesTable extends Migration {
...
@@ -30,7 +29,6 @@ class CreateCmsPagesTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -40,5 +38,4 @@ class CreateCmsPagesTable extends Migration {
...
@@ -40,5 +38,4 @@ class CreateCmsPagesTable extends Migration {
{
{
Schema
::
drop
(
'cms_pages'
);
Schema
::
drop
(
'cms_pages'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_countries_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateCountriesTable
extends
Migration
{
class
CreateCountriesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreateCountriesTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreateCountriesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'countries'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'countries'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'country'
,
191
);
$table
->
string
(
'country'
,
191
);
$table
->
timestamps
();
$table
->
timestamps
();
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreateCountriesTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreateCountriesTable extends Migration {
{
{
Schema
::
drop
(
'countries'
);
Schema
::
drop
(
'countries'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_email_template_placeholders_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateEmailTemplatePlaceholdersTable
extends
Migration
{
class
CreateEmailTemplatePlaceholdersTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreateEmailTemplatePlaceholdersTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreateEmailTemplatePlaceholdersTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'email_template_placeholders'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'email_template_placeholders'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'name'
,
191
);
$table
->
string
(
'name'
,
191
);
$table
->
timestamps
();
$table
->
timestamps
();
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreateEmailTemplatePlaceholdersTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreateEmailTemplatePlaceholdersTable extends Migration {
{
{
Schema
::
drop
(
'email_template_placeholders'
);
Schema
::
drop
(
'email_template_placeholders'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_email_template_types_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateEmailTemplateTypesTable
extends
Migration
{
class
CreateEmailTemplateTypesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreateEmailTemplateTypesTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreateEmailTemplateTypesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'email_template_types'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'email_template_types'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'name'
,
191
);
$table
->
string
(
'name'
,
191
);
$table
->
timestamps
();
$table
->
timestamps
();
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreateEmailTemplateTypesTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreateEmailTemplateTypesTable extends Migration {
{
{
Schema
::
drop
(
'email_template_types'
);
Schema
::
drop
(
'email_template_types'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_email_templates_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateEmailTemplatesTable
extends
Migration
{
class
CreateEmailTemplatesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateEmailTemplatesTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateEmailTemplatesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'email_templates'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'email_templates'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'type_id'
)
->
unsigned
()
->
index
();
$table
->
integer
(
'type_id'
)
->
unsigned
()
->
index
();
$table
->
string
(
'title'
);
$table
->
string
(
'title'
);
...
@@ -27,7 +26,6 @@ class CreateEmailTemplatesTable extends Migration {
...
@@ -27,7 +26,6 @@ class CreateEmailTemplatesTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -37,5 +35,4 @@ class CreateEmailTemplatesTable extends Migration {
...
@@ -37,5 +35,4 @@ class CreateEmailTemplatesTable extends Migration {
{
{
Schema
::
drop
(
'email_templates'
);
Schema
::
drop
(
'email_templates'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_faqs_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateFaqsTable
extends
Migration
{
class
CreateFaqsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateFaqsTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateFaqsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'faqs'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'faqs'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'question'
,
191
);
$table
->
string
(
'question'
,
191
);
$table
->
text
(
'answer'
,
65535
);
$table
->
text
(
'answer'
,
65535
);
...
@@ -23,7 +22,6 @@ class CreateFaqsTable extends Migration {
...
@@ -23,7 +22,6 @@ class CreateFaqsTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -33,5 +31,4 @@ class CreateFaqsTable extends Migration {
...
@@ -33,5 +31,4 @@ class CreateFaqsTable extends Migration {
{
{
Schema
::
drop
(
'faqs'
);
Schema
::
drop
(
'faqs'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_history_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateHistoryTable
extends
Migration
{
class
CreateHistoryTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateHistoryTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateHistoryTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'history'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'history'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'type_id'
)
->
unsigned
()
->
index
(
'history_type_id_foreign'
);
$table
->
integer
(
'type_id'
)
->
unsigned
()
->
index
(
'history_type_id_foreign'
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'history_user_id_foreign'
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'history_user_id_foreign'
);
...
@@ -26,7 +25,6 @@ class CreateHistoryTable extends Migration {
...
@@ -26,7 +25,6 @@ class CreateHistoryTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -36,5 +34,4 @@ class CreateHistoryTable extends Migration {
...
@@ -36,5 +34,4 @@ class CreateHistoryTable extends Migration {
{
{
Schema
::
drop
(
'history'
);
Schema
::
drop
(
'history'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_history_types_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateHistoryTypesTable
extends
Migration
{
class
CreateHistoryTypesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreateHistoryTypesTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreateHistoryTypesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'history_types'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'history_types'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'name'
,
191
);
$table
->
string
(
'name'
,
191
);
$table
->
timestamps
();
$table
->
timestamps
();
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreateHistoryTypesTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreateHistoryTypesTable extends Migration {
{
{
Schema
::
drop
(
'history_types'
);
Schema
::
drop
(
'history_types'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_menus_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateMenusTable
extends
Migration
{
class
CreateMenusTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,10 +12,9 @@ class CreateMenusTable extends Migration {
...
@@ -12,10 +12,9 @@ class CreateMenusTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'menus'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'menus'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
enum
(
'type'
,
array
(
'backend'
,
'frontend'
)
);
$table
->
enum
(
'type'
,
[
'backend'
,
'frontend'
]
);
$table
->
string
(
'name'
,
191
);
$table
->
string
(
'name'
,
191
);
$table
->
text
(
'items'
,
65535
)
->
nullable
();
$table
->
text
(
'items'
,
65535
)
->
nullable
();
$table
->
integer
(
'created_by'
)
->
unsigned
();
$table
->
integer
(
'created_by'
)
->
unsigned
();
...
@@ -25,7 +24,6 @@ class CreateMenusTable extends Migration {
...
@@ -25,7 +24,6 @@ class CreateMenusTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -35,5 +33,4 @@ class CreateMenusTable extends Migration {
...
@@ -35,5 +33,4 @@ class CreateMenusTable extends Migration {
{
{
Schema
::
drop
(
'menus'
);
Schema
::
drop
(
'menus'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_modules_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateModulesTable
extends
Migration
{
class
CreateModulesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateModulesTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateModulesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'modules'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'modules'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'view_permission_id'
,
191
);
$table
->
string
(
'view_permission_id'
,
191
);
$table
->
string
(
'name'
,
191
);
$table
->
string
(
'name'
,
191
);
...
@@ -24,7 +23,6 @@ class CreateModulesTable extends Migration {
...
@@ -24,7 +23,6 @@ class CreateModulesTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -34,5 +32,4 @@ class CreateModulesTable extends Migration {
...
@@ -34,5 +32,4 @@ class CreateModulesTable extends Migration {
{
{
Schema
::
drop
(
'modules'
);
Schema
::
drop
(
'modules'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_notifications_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateNotificationsTable
extends
Migration
{
class
CreateNotificationsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateNotificationsTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateNotificationsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'notifications'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'notifications'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'message'
,
191
);
$table
->
string
(
'message'
,
191
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'notifications_user_id_foreign'
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'notifications_user_id_foreign'
);
...
@@ -23,7 +22,6 @@ class CreateNotificationsTable extends Migration {
...
@@ -23,7 +22,6 @@ class CreateNotificationsTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -33,5 +31,4 @@ class CreateNotificationsTable extends Migration {
...
@@ -33,5 +31,4 @@ class CreateNotificationsTable extends Migration {
{
{
Schema
::
drop
(
'notifications'
);
Schema
::
drop
(
'notifications'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_password_resets_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreatePasswordResetsTable
extends
Migration
{
class
CreatePasswordResetsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreatePasswordResetsTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreatePasswordResetsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'password_resets'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'password_resets'
,
function
(
Blueprint
$table
)
{
{
$table
->
string
(
'email'
,
191
)
->
index
();
$table
->
string
(
'email'
,
191
)
->
index
();
$table
->
string
(
'token'
,
191
);
$table
->
string
(
'token'
,
191
);
$table
->
dateTime
(
'created_at'
)
->
nullable
();
$table
->
dateTime
(
'created_at'
)
->
nullable
();
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreatePasswordResetsTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreatePasswordResetsTable extends Migration {
{
{
Schema
::
drop
(
'password_resets'
);
Schema
::
drop
(
'password_resets'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_permission_role_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreatePermissionRoleTable
extends
Migration
{
class
CreatePermissionRoleTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreatePermissionRoleTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreatePermissionRoleTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'permission_role'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'permission_role'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'permission_id'
)
->
unsigned
()
->
index
(
'permission_role_permission_id_foreign'
);
$table
->
integer
(
'permission_id'
)
->
unsigned
()
->
index
(
'permission_role_permission_id_foreign'
);
$table
->
integer
(
'role_id'
)
->
unsigned
()
->
index
(
'permission_role_role_id_foreign'
);
$table
->
integer
(
'role_id'
)
->
unsigned
()
->
index
(
'permission_role_role_id_foreign'
);
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreatePermissionRoleTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreatePermissionRoleTable extends Migration {
{
{
Schema
::
drop
(
'permission_role'
);
Schema
::
drop
(
'permission_role'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_permission_user_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreatePermissionUserTable
extends
Migration
{
class
CreatePermissionUserTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreatePermissionUserTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreatePermissionUserTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'permission_user'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'permission_user'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'permission_id'
)
->
unsigned
()
->
index
(
'permission_user_permission_id_foreign'
);
$table
->
integer
(
'permission_id'
)
->
unsigned
()
->
index
(
'permission_user_permission_id_foreign'
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'permission_user_user_id_foreign'
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'permission_user_user_id_foreign'
);
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreatePermissionUserTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreatePermissionUserTable extends Migration {
{
{
Schema
::
drop
(
'permission_user'
);
Schema
::
drop
(
'permission_user'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_permissions_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreatePermissionsTable
extends
Migration
{
class
CreatePermissionsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreatePermissionsTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreatePermissionsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'permissions'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'permissions'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'name'
,
191
)
->
unique
();
$table
->
string
(
'name'
,
191
)
->
unique
();
$table
->
string
(
'display_name'
,
191
);
$table
->
string
(
'display_name'
,
191
);
...
@@ -26,7 +25,6 @@ class CreatePermissionsTable extends Migration {
...
@@ -26,7 +25,6 @@ class CreatePermissionsTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -36,5 +34,4 @@ class CreatePermissionsTable extends Migration {
...
@@ -36,5 +34,4 @@ class CreatePermissionsTable extends Migration {
{
{
Schema
::
drop
(
'permissions'
);
Schema
::
drop
(
'permissions'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_role_user_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateRoleUserTable
extends
Migration
{
class
CreateRoleUserTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,15 +12,13 @@ class CreateRoleUserTable extends Migration {
...
@@ -12,15 +12,13 @@ class CreateRoleUserTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'role_user'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'role_user'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'role_user_user_id_foreign'
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'role_user_user_id_foreign'
);
$table
->
integer
(
'role_id'
)
->
unsigned
()
->
index
(
'role_user_role_id_foreign'
);
$table
->
integer
(
'role_id'
)
->
unsigned
()
->
index
(
'role_user_role_id_foreign'
);
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -30,5 +28,4 @@ class CreateRoleUserTable extends Migration {
...
@@ -30,5 +28,4 @@ class CreateRoleUserTable extends Migration {
{
{
Schema
::
drop
(
'role_user'
);
Schema
::
drop
(
'role_user'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_roles_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateRolesTable
extends
Migration
{
class
CreateRolesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateRolesTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateRolesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'roles'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'roles'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'name'
,
191
)
->
unique
();
$table
->
string
(
'name'
,
191
)
->
unique
();
$table
->
boolean
(
'all'
)
->
default
(
0
);
$table
->
boolean
(
'all'
)
->
default
(
0
);
...
@@ -26,7 +25,6 @@ class CreateRolesTable extends Migration {
...
@@ -26,7 +25,6 @@ class CreateRolesTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -36,5 +34,4 @@ class CreateRolesTable extends Migration {
...
@@ -36,5 +34,4 @@ class CreateRolesTable extends Migration {
{
{
Schema
::
drop
(
'roles'
);
Schema
::
drop
(
'roles'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_sessions_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateSessionsTable
extends
Migration
{
class
CreateSessionsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateSessionsTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateSessionsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'sessions'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'sessions'
,
function
(
Blueprint
$table
)
{
{
$table
->
string
(
'id'
,
191
)
->
unique
();
$table
->
string
(
'id'
,
191
)
->
unique
();
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
nullable
();
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
nullable
();
$table
->
string
(
'ip_address'
,
45
)
->
nullable
();
$table
->
string
(
'ip_address'
,
45
)
->
nullable
();
...
@@ -23,7 +22,6 @@ class CreateSessionsTable extends Migration {
...
@@ -23,7 +22,6 @@ class CreateSessionsTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -33,5 +31,4 @@ class CreateSessionsTable extends Migration {
...
@@ -33,5 +31,4 @@ class CreateSessionsTable extends Migration {
{
{
Schema
::
drop
(
'sessions'
);
Schema
::
drop
(
'sessions'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_settings_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateSettingsTable
extends
Migration
{
class
CreateSettingsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateSettingsTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateSettingsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'settings'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'settings'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'logo'
,
191
)
->
nullable
();
$table
->
string
(
'logo'
,
191
)
->
nullable
();
$table
->
string
(
'favicon'
,
191
)
->
nullable
();
$table
->
string
(
'favicon'
,
191
)
->
nullable
();
...
@@ -45,7 +44,6 @@ class CreateSettingsTable extends Migration {
...
@@ -45,7 +44,6 @@ class CreateSettingsTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -55,5 +53,4 @@ class CreateSettingsTable extends Migration {
...
@@ -55,5 +53,4 @@ class CreateSettingsTable extends Migration {
{
{
Schema
::
drop
(
'settings'
);
Schema
::
drop
(
'settings'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_social_logins_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateSocialLoginsTable
extends
Migration
{
class
CreateSocialLoginsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateSocialLoginsTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateSocialLoginsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'social_logins'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'social_logins'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'social_logins_user_id_foreign'
);
$table
->
integer
(
'user_id'
)
->
unsigned
()
->
index
(
'social_logins_user_id_foreign'
);
$table
->
string
(
'provider'
,
32
);
$table
->
string
(
'provider'
,
32
);
...
@@ -24,7 +23,6 @@ class CreateSocialLoginsTable extends Migration {
...
@@ -24,7 +23,6 @@ class CreateSocialLoginsTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -34,5 +32,4 @@ class CreateSocialLoginsTable extends Migration {
...
@@ -34,5 +32,4 @@ class CreateSocialLoginsTable extends Migration {
{
{
Schema
::
drop
(
'social_logins'
);
Schema
::
drop
(
'social_logins'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_states_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateStatesTable
extends
Migration
{
class
CreateStatesTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateStatesTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateStatesTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'states'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'states'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
integer
(
'country_id'
)
->
unsigned
()
->
index
();
$table
->
integer
(
'country_id'
)
->
unsigned
()
->
index
();
$table
->
string
(
'state'
,
191
);
$table
->
string
(
'state'
,
191
);
...
@@ -22,7 +21,6 @@ class CreateStatesTable extends Migration {
...
@@ -22,7 +21,6 @@ class CreateStatesTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -32,5 +30,4 @@ class CreateStatesTable extends Migration {
...
@@ -32,5 +30,4 @@ class CreateStatesTable extends Migration {
{
{
Schema
::
drop
(
'states'
);
Schema
::
drop
(
'states'
);
}
}
}
}
database/migrations/2017_11_02_060149_create_users_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
CreateUsersTable
extends
Migration
{
class
CreateUsersTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,8 +12,7 @@ class CreateUsersTable extends Migration {
...
@@ -12,8 +12,7 @@ class CreateUsersTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
create
(
'users'
,
function
(
Blueprint
$table
)
Schema
::
create
(
'users'
,
function
(
Blueprint
$table
)
{
{
$table
->
increments
(
'id'
);
$table
->
increments
(
'id'
);
$table
->
string
(
'first_name'
,
191
);
$table
->
string
(
'first_name'
,
191
);
$table
->
string
(
'last_name'
,
191
);
$table
->
string
(
'last_name'
,
191
);
...
@@ -37,7 +36,6 @@ class CreateUsersTable extends Migration {
...
@@ -37,7 +36,6 @@ class CreateUsersTable extends Migration {
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -47,5 +45,4 @@ class CreateUsersTable extends Migration {
...
@@ -47,5 +45,4 @@ class CreateUsersTable extends Migration {
{
{
Schema
::
drop
(
'users'
);
Schema
::
drop
(
'users'
);
}
}
}
}
database/migrations/2017_11_02_060152_add_foreign_keys_to_history_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
AddForeignKeysToHistoryTable
extends
Migration
{
class
AddForeignKeysToHistoryTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,14 +12,12 @@ class AddForeignKeysToHistoryTable extends Migration {
...
@@ -12,14 +12,12 @@ class AddForeignKeysToHistoryTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
table
(
'history'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'history'
,
function
(
Blueprint
$table
)
{
{
$table
->
foreign
(
'type_id'
)
->
references
(
'id'
)
->
on
(
'history_types'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'type_id'
)
->
references
(
'id'
)
->
on
(
'history_types'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -27,11 +25,9 @@ class AddForeignKeysToHistoryTable extends Migration {
...
@@ -27,11 +25,9 @@ class AddForeignKeysToHistoryTable extends Migration {
*/
*/
public
function
down
()
public
function
down
()
{
{
Schema
::
table
(
'history'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'history'
,
function
(
Blueprint
$table
)
{
{
$table
->
dropForeign
(
'history_type_id_foreign'
);
$table
->
dropForeign
(
'history_type_id_foreign'
);
$table
->
dropForeign
(
'history_user_id_foreign'
);
$table
->
dropForeign
(
'history_user_id_foreign'
);
});
});
}
}
}
}
database/migrations/2017_11_02_060152_add_foreign_keys_to_notifications_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
AddForeignKeysToNotificationsTable
extends
Migration
{
class
AddForeignKeysToNotificationsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,13 +12,11 @@ class AddForeignKeysToNotificationsTable extends Migration {
...
@@ -12,13 +12,11 @@ class AddForeignKeysToNotificationsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
table
(
'notifications'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'notifications'
,
function
(
Blueprint
$table
)
{
{
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -26,10 +24,8 @@ class AddForeignKeysToNotificationsTable extends Migration {
...
@@ -26,10 +24,8 @@ class AddForeignKeysToNotificationsTable extends Migration {
*/
*/
public
function
down
()
public
function
down
()
{
{
Schema
::
table
(
'notifications'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'notifications'
,
function
(
Blueprint
$table
)
{
{
$table
->
dropForeign
(
'notifications_user_id_foreign'
);
$table
->
dropForeign
(
'notifications_user_id_foreign'
);
});
});
}
}
}
}
database/migrations/2017_11_02_060152_add_foreign_keys_to_permission_role_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
AddForeignKeysToPermissionRoleTable
extends
Migration
{
class
AddForeignKeysToPermissionRoleTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,14 +12,12 @@ class AddForeignKeysToPermissionRoleTable extends Migration {
...
@@ -12,14 +12,12 @@ class AddForeignKeysToPermissionRoleTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
table
(
'permission_role'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'permission_role'
,
function
(
Blueprint
$table
)
{
{
$table
->
foreign
(
'permission_id'
)
->
references
(
'id'
)
->
on
(
'permissions'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'permission_id'
)
->
references
(
'id'
)
->
on
(
'permissions'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'role_id'
)
->
references
(
'id'
)
->
on
(
'roles'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'role_id'
)
->
references
(
'id'
)
->
on
(
'roles'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -27,11 +25,9 @@ class AddForeignKeysToPermissionRoleTable extends Migration {
...
@@ -27,11 +25,9 @@ class AddForeignKeysToPermissionRoleTable extends Migration {
*/
*/
public
function
down
()
public
function
down
()
{
{
Schema
::
table
(
'permission_role'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'permission_role'
,
function
(
Blueprint
$table
)
{
{
$table
->
dropForeign
(
'permission_role_permission_id_foreign'
);
$table
->
dropForeign
(
'permission_role_permission_id_foreign'
);
$table
->
dropForeign
(
'permission_role_role_id_foreign'
);
$table
->
dropForeign
(
'permission_role_role_id_foreign'
);
});
});
}
}
}
}
database/migrations/2017_11_02_060152_add_foreign_keys_to_permission_user_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
AddForeignKeysToPermissionUserTable
extends
Migration
{
class
AddForeignKeysToPermissionUserTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,14 +12,12 @@ class AddForeignKeysToPermissionUserTable extends Migration {
...
@@ -12,14 +12,12 @@ class AddForeignKeysToPermissionUserTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
table
(
'permission_user'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'permission_user'
,
function
(
Blueprint
$table
)
{
{
$table
->
foreign
(
'permission_id'
)
->
references
(
'id'
)
->
on
(
'permissions'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'permission_id'
)
->
references
(
'id'
)
->
on
(
'permissions'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -27,11 +25,9 @@ class AddForeignKeysToPermissionUserTable extends Migration {
...
@@ -27,11 +25,9 @@ class AddForeignKeysToPermissionUserTable extends Migration {
*/
*/
public
function
down
()
public
function
down
()
{
{
Schema
::
table
(
'permission_user'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'permission_user'
,
function
(
Blueprint
$table
)
{
{
$table
->
dropForeign
(
'permission_user_permission_id_foreign'
);
$table
->
dropForeign
(
'permission_user_permission_id_foreign'
);
$table
->
dropForeign
(
'permission_user_user_id_foreign'
);
$table
->
dropForeign
(
'permission_user_user_id_foreign'
);
});
});
}
}
}
}
database/migrations/2017_11_02_060152_add_foreign_keys_to_role_user_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
AddForeignKeysToRoleUserTable
extends
Migration
{
class
AddForeignKeysToRoleUserTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,14 +12,12 @@ class AddForeignKeysToRoleUserTable extends Migration {
...
@@ -12,14 +12,12 @@ class AddForeignKeysToRoleUserTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
table
(
'role_user'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'role_user'
,
function
(
Blueprint
$table
)
{
{
$table
->
foreign
(
'role_id'
)
->
references
(
'id'
)
->
on
(
'roles'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'role_id'
)
->
references
(
'id'
)
->
on
(
'roles'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -27,11 +25,9 @@ class AddForeignKeysToRoleUserTable extends Migration {
...
@@ -27,11 +25,9 @@ class AddForeignKeysToRoleUserTable extends Migration {
*/
*/
public
function
down
()
public
function
down
()
{
{
Schema
::
table
(
'role_user'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'role_user'
,
function
(
Blueprint
$table
)
{
{
$table
->
dropForeign
(
'role_user_role_id_foreign'
);
$table
->
dropForeign
(
'role_user_role_id_foreign'
);
$table
->
dropForeign
(
'role_user_user_id_foreign'
);
$table
->
dropForeign
(
'role_user_user_id_foreign'
);
});
});
}
}
}
}
database/migrations/2017_11_02_060152_add_foreign_keys_to_social_logins_table.php
View file @
d57eb3b3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Schema\Blueprint
;
class
AddForeignKeysToSocialLoginsTable
extends
Migration
{
class
AddForeignKeysToSocialLoginsTable
extends
Migration
{
/**
/**
* Run the migrations.
* Run the migrations.
*
*
...
@@ -12,13 +12,11 @@ class AddForeignKeysToSocialLoginsTable extends Migration {
...
@@ -12,13 +12,11 @@ class AddForeignKeysToSocialLoginsTable extends Migration {
*/
*/
public
function
up
()
public
function
up
()
{
{
Schema
::
table
(
'social_logins'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'social_logins'
,
function
(
Blueprint
$table
)
{
{
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
$table
->
foreign
(
'user_id'
)
->
references
(
'id'
)
->
on
(
'users'
)
->
onUpdate
(
'RESTRICT'
)
->
onDelete
(
'CASCADE'
);
});
});
}
}
/**
/**
* Reverse the migrations.
* Reverse the migrations.
*
*
...
@@ -26,10 +24,8 @@ class AddForeignKeysToSocialLoginsTable extends Migration {
...
@@ -26,10 +24,8 @@ class AddForeignKeysToSocialLoginsTable extends Migration {
*/
*/
public
function
down
()
public
function
down
()
{
{
Schema
::
table
(
'social_logins'
,
function
(
Blueprint
$table
)
Schema
::
table
(
'social_logins'
,
function
(
Blueprint
$table
)
{
{
$table
->
dropForeign
(
'social_logins_user_id_foreign'
);
$table
->
dropForeign
(
'social_logins_user_id_foreign'
);
});
});
}
}
}
}
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