Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dankal-data-view
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
仲光辉
dankal-data-view
Commits
c2c4785a
Commit
c2c4785a
authored
Apr 24, 2024
by
mercymodest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add yago 2.0.0 update sql
parent
b2fc05fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
1 deletion
+31
-1
线上需要同步的SQL.sql
拉伽/线上需要同步的SQL.sql
+31
-1
No files found.
拉伽/线上需要同步的SQL.sql
View file @
c2c4785a
CREAT
E
TABLE
`api_client_credentials`
CREAT
E
TABLE
`api_client_credentials`
...
...
@@ -66,3 +66,33 @@ create index idx_cp_booking_id
alter
table
user_card_subscribe_logs
modify
user_phone
varchar
(
50
)
null
comment
'用户手机号'
;
create
index
idx_subscribe_uuid
on
subscribe_operate_logs
(
subscribe_uuid
);
alter
table
subscribe_operate_logs
add
operation_source
tinyint
(
1
)
default
0
null
comment
'操作来源 0:拉伽 1:ClassPass小程序'
;
create
index
salesman_recommend_user_user_uuid_index
on
salesman_recommend_user
(
user_uuid
);
create
index
idx_store_uuid
on
user_return_visit
(
store_uuid
);
alter
table
store
add
store_id
varchar
(
50
)
default
null
null
comment
'场馆 id 若需要在ClassPath中进行排课则需要必填场馆ID'
;
UPDATE
store
SET
store_id
=
uuid
WHERE
store_id
is
null
;
create
index
idx_store_uuid
on
store_schedules
(
store_uuid
);
create
index
idx_store_uuid
on
user_card_subscribe_logs
(
store_uuid
);
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