Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
tzt-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7863403b
authored
Nov 23, 2024
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表字段调整非必填项
parent
f2ae4605
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
database/migrations/2024_11_04_223543_create_pharmacy_table.php
+7
-7
No files found.
database/migrations/2024_11_04_223543_create_pharmacy_table.php
View file @
7863403b
...
...
@@ -17,13 +17,13 @@ public function up(): void
$table
->
bigIncrements
(
'id'
);
$table
->
string
(
'name'
,
64
)
->
comment
(
'药店名称'
);
$table
->
string
(
'business_license'
)
->
comment
(
'营业执照'
);
$table
->
string
(
'drug_biz_license'
)
->
comment
(
'药品经营许可证'
);
$table
->
string
(
'food_biz_license'
)
->
comment
(
'食品经营许可证'
);
$table
->
string
(
'med_device_biz_license'
)
->
comment
(
'医疗器械经营许可证'
);
$table
->
string
(
'drug_info_service_cert'
)
->
comment
(
'互联网药品信息服务资格证书'
);
$table
->
string
(
'pre_packaged_food'
)
->
comment
(
'仅销售预包装食品备案表'
);
$table
->
string
(
'area'
,
64
)
->
comment
(
'地区'
);
$table
->
string
(
'address'
,
128
)
->
comment
(
'详细地址'
);
$table
->
string
(
'drug_biz_license'
)
->
nullable
()
->
comment
(
'药品经营许可证'
);
$table
->
string
(
'food_biz_license'
)
->
nullable
()
->
comment
(
'食品经营许可证'
);
$table
->
string
(
'med_device_biz_license'
)
->
nullable
()
->
comment
(
'医疗器械经营许可证'
);
$table
->
string
(
'drug_info_service_cert'
)
->
nullable
()
->
comment
(
'互联网药品信息服务资格证书'
);
$table
->
string
(
'pre_packaged_food'
)
->
nullable
()
->
comment
(
'仅销售预包装食品备案表'
);
$table
->
string
(
'area'
,
64
)
->
nullable
()
->
comment
(
'地区'
);
$table
->
string
(
'address'
,
128
)
->
nullable
()
->
comment
(
'详细地址'
);
$table
->
string
(
'mobile'
,
11
)
->
unique
(
'uk_mobile'
)
->
comment
(
'药店管理员手机号'
);
$table
->
time
(
'business_start'
)
->
comment
(
'营业开始时间'
);
$table
->
time
(
'business_end'
)
->
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