Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aic_duty_strategy
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
yinxiaoling
aic_duty_strategy
Commits
c9ab930b
Commit
c9ab930b
authored
May 20, 2020
by
yinxiaoling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uuid类型中划线问题
parent
d366f7d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DatabaseSeeder.php
database/seeds/DatabaseSeeder.php
+2
-2
No files found.
database/seeds/DatabaseSeeder.php
View file @
c9ab930b
...
...
@@ -18,7 +18,7 @@ class DatabaseSeeder extends Seeder
if
(
!
Schema
::
hasTable
(
$tableName
)){
Schema
::
create
(
$tableName
,
function
(
Blueprint
$table
){
$table
->
increments
(
'id'
);
$table
->
uuid
(
'strategy_sn'
)
->
comment
(
'sn编号'
);
//sn编号
$table
->
string
(
'strategy_sn'
,
100
)
->
comment
(
'sn编号'
);
//sn编号
$table
->
string
(
'strategy_name'
,
50
)
->
comment
(
'策略名称'
);
$table
->
string
(
'user_sn'
,
100
)
->
comment
(
'用户sn'
);
$table
->
string
(
'user_name'
,
50
)
->
comment
(
'用户名'
);
...
...
@@ -65,7 +65,7 @@ class DatabaseSeeder extends Seeder
if
(
!
Schema
::
hasTable
(
$tableName
)){
Schema
::
create
(
$tableName
,
function
(
Blueprint
$table
){
$table
->
increments
(
'id'
);
$table
->
uuid
(
'strategy_sn'
)
->
comment
(
'策略sn编号'
);
//sn编号
$table
->
string
(
'strategy_sn'
,
100
)
->
comment
(
'策略sn编号'
);
//sn编号
$table
->
string
(
'name'
,
50
)
->
nullable
()
->
comment
(
'姓名'
);
$table
->
date
(
'duty_date'
)
->
nullable
()
->
comment
(
'值班日期(年月日)'
);
$table
->
timestamp
(
'import_date'
)
->
nullable
()
->
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