Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openApi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
hj
openApi
Commits
1e7fc2e8
Commit
1e7fc2e8
authored
Apr 12, 2022
by
hangjun83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
role权限表去掉标题字段
parent
c0982f86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
server/bootstrap/route.php
server/bootstrap/route.php
+1
-2
server/database/migrations/2022_03_23_064135_create_permission_tables.php
...migrations/2022_03_23_064135_create_permission_tables.php
+0
-1
No files found.
server/bootstrap/route.php
View file @
1e7fc2e8
...
@@ -9,5 +9,4 @@ $api = app('Dingo\Api\Routing\Router');
...
@@ -9,5 +9,4 @@ $api = app('Dingo\Api\Routing\Router');
require
__DIR__
.
'/../routes/api/auth.php'
;
require
__DIR__
.
'/../routes/api/auth.php'
;
require
__DIR__
.
'/../routes/api/permissions.php'
;
require
__DIR__
.
'/../routes/api/permissions.php'
;
//require __DIR__.'/../routes/api/tools.php';
server/database/migrations/2022_03_23_064135_create_permission_tables.php
View file @
1e7fc2e8
...
@@ -62,7 +62,6 @@ class CreatePermissionTables extends Migration
...
@@ -62,7 +62,6 @@ class CreatePermissionTables extends Migration
Schema
::
create
(
$tableNames
[
'roles'
],
function
(
Blueprint
$table
)
{
Schema
::
create
(
$tableNames
[
'roles'
],
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
id
();
$table
->
string
(
'name'
)
->
comment
(
'名称'
);
$table
->
string
(
'name'
)
->
comment
(
'名称'
);
$table
->
string
(
'title'
)
->
comment
(
'标题'
);
$table
->
unsignedTinyInteger
(
'is_default'
)
->
default
(
0
)
->
comment
(
'是否默认'
);
$table
->
unsignedTinyInteger
(
'is_default'
)
->
default
(
0
)
->
comment
(
'是否默认'
);
$table
->
text
(
'remark'
)
->
nullable
()
->
comment
(
'备注'
);
$table
->
text
(
'remark'
)
->
nullable
()
->
comment
(
'备注'
);
$table
->
string
(
'guard_name'
)
->
comment
(
'权限插件保留字段'
);
$table
->
string
(
'guard_name'
)
->
comment
(
'权限插件保留字段'
);
...
...
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