Skip to content

Project sharing DDL - #1975

Merged
aglinxinyuan merged 5 commits into
masterfrom
xinyuan-project-sharing-ddl
Jun 9, 2023
Merged

aglinxinyuan merged 5 commits into
masterfrom
xinyuan-project-sharing-ddl

Conversation

@aglinxinyuan

Copy link
Copy Markdown
Contributor

The DDL changes for Project sharing.

Following the same scheme of Workflow Sharing and File Sharing.

Current DB can be updated with the script: core/scripts/sql/update/project_sharing_access.sql

@aglinxinyuan aglinxinyuan added the ddl-change Changes to the TexeraDB DDL label Jun 6, 2023
@aglinxinyuan aglinxinyuan self-assigned this Jun 6, 2023
@aglinxinyuan
aglinxinyuan requested a review from shengquan-ni June 6, 2023 21:42

@Xiao-zhen-Liu Xiao-zhen-Liu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@aglinxinyuan
aglinxinyuan merged commit d8f0300 into master Jun 9, 2023
@aglinxinyuan
aglinxinyuan deleted the xinyuan-project-sharing-ddl branch June 9, 2023 21:06
@aglinxinyuan aglinxinyuan mentioned this pull request Jun 15, 2023
aglinxinyuan added a commit that referenced this pull request Jun 15, 2023
Allow users to share projects with the other user with their email.
Following the same scheme of Workflow Sharing and File Sharing.
Follow up of #1975

This PR is using groupBy to get rid of duplicate workflows. 
In case you have `this is incompatible with sql_mode=only_full_group_by`
error,
you can fix it with `core\scripts\sql\update\fix_groupby.sql` script.


![image](https://github.com/Texera/texera/assets/11544314/1c74ac6d-c204-4a72-b168-fda5a6979c67)
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
The DDL changes for Project sharing.

Following the same scheme of Workflow Sharing and File Sharing.

Current DB can be updated with the script:
core/scripts/sql/update/project_sharing_access.sql
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
Allow users to share projects with the other user with their email.
Following the same scheme of Workflow Sharing and File Sharing.
Follow up of apache#1975

This PR is using groupBy to get rid of duplicate workflows. 
In case you have `this is incompatible with sql_mode=only_full_group_by`
error,
you can fix it with `core\scripts\sql\update\fix_groupby.sql` script.


![image](https://github.com/Texera/texera/assets/11544314/1c74ac6d-c204-4a72-b168-fda5a6979c67)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ddl-change Changes to the TexeraDB DDL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants