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
65f19ac3
authored
Nov 19, 2024
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
be423f98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
0 deletions
+56
-0
database/migrations/2024_11_19_105615_add_is_auto_to_doctor_table.php
+28
-0
database/migrations/2024_11_19_110550_add_is_auto_to_pharmacy_table.php
+28
-0
No files found.
database/migrations/2024_11_19_105615_add_is_auto_to_doctor_table.php
0 → 100644
View file @
65f19ac3
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
return
new
class
extends
Migration
{
/**
* Run the migrations.
*/
public
function
up
()
:
void
{
Schema
::
table
(
'doctor'
,
function
(
Blueprint
$table
)
{
$table
->
boolean
(
'is_auto'
)
->
default
(
1
)
->
comment
(
'是否自动开方[0=否,1=是]'
);
});
}
/**
* Reverse the migrations.
*/
public
function
down
()
:
void
{
Schema
::
table
(
'doctor'
,
function
(
Blueprint
$table
)
{
//
});
}
};
database/migrations/2024_11_19_110550_add_is_auto_to_pharmacy_table.php
0 → 100644
View file @
65f19ac3
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
return
new
class
extends
Migration
{
/**
* Run the migrations.
*/
public
function
up
()
:
void
{
Schema
::
table
(
'pharmacy'
,
function
(
Blueprint
$table
)
{
$table
->
boolean
(
'is_auto'
)
->
default
(
1
)
->
comment
(
'是否自动审方[0=否,1=是]'
);
});
}
/**
* Reverse the migrations.
*/
public
function
down
()
:
void
{
Schema
::
table
(
'pharmacy'
,
function
(
Blueprint
$table
)
{
//
});
}
};
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