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
853c6828
authored
Nov 27, 2024
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fa49d615
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
database/migrations/2024_11_04_223543_create_pharmacy_table.php
+1
-1
database/migrations/2024_11_04_224709_create_pharmacist_table.php
+3
-3
No files found.
database/migrations/2024_11_04_223543_create_pharmacy_table.php
View file @
853c6828
...
...
@@ -16,7 +16,7 @@ public function up(): void
$table
->
bigIncrements
(
'id'
);
$table
->
string
(
'name'
,
64
)
->
comment
(
'药店名称'
);
$table
->
string
(
'business_license'
)
->
comment
(
'营业执照'
);
$table
->
string
(
'business_license'
)
->
nullable
()
->
comment
(
'营业执照'
);
$table
->
string
(
'drug_biz_license'
)
->
nullable
()
->
comment
(
'药品经营许可证'
);
$table
->
string
(
'food_biz_license'
)
->
nullable
()
->
comment
(
'食品经营许可证'
);
$table
->
string
(
'med_device_biz_license'
)
->
nullable
()
->
comment
(
'医疗器械经营许可证'
);
...
...
database/migrations/2024_11_04_224709_create_pharmacist_table.php
View file @
853c6828
...
...
@@ -19,9 +19,9 @@ public function up(): void
$table
->
string
(
'id_card'
,
18
)
->
comment
(
'身份证号'
);
$table
->
string
(
'license_number'
,
32
)
->
comment
(
'执照编号'
);
$table
->
string
(
'mobile'
,
11
)
->
comment
(
'手机号码'
);
$table
->
string
(
'practicing_license'
)
->
comment
(
'执业注册证书'
);
$table
->
date
(
'practicing_license_expired_time'
)
->
comment
(
'执业注册证书有效期'
);
$table
->
string
(
'physician_license'
)
->
comment
(
'执业资格证书'
);
$table
->
string
(
'practicing_license'
)
->
nullable
()
->
comment
(
'执业注册证书'
);
$table
->
date
(
'practicing_license_expired_time'
)
->
nullable
()
->
comment
(
'执业注册证书有效期'
);
$table
->
string
(
'physician_license'
)
->
nullable
()
->
comment
(
'执业资格证书'
);
$table
->
longText
(
'signed_pic'
)
->
nullable
()
->
comment
(
'签名照'
);
$table
->
boolean
(
'status'
)
->
default
(
0
)
->
comment
(
'启用[0=未启用,1=启用]'
);
$table
->
bigInteger
(
'pharmacy_id'
)
->
index
(
'idx_pharmacyid'
)
->
comment
(
'药店ID'
);
...
...
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