Skip to content

Issue #128 #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2018
Merged

Issue #128 #142

merged 1 commit into from
Aug 1, 2018

Conversation

morehappiness
Copy link
Contributor

Fix Issue #128

@morehappiness morehappiness changed the base branch from feature/timeline-milestone to dev July 28, 2018 15:26
@morehappiness morehappiness changed the base branch from dev to feature/timeline-milestone July 28, 2018 15:41
@coderReview coderReview added the bug-bash To collect all tasks for a bug bash label Jul 29, 2018
@vikasrohit
Copy link

@morehappiness could you please squash the changes in single commit? These change are potentially breaking, so I would like to revert them with single commit.

@vikasrohit vikasrohit changed the base branch from feature/timeline-milestone to feature/timeline-milestone-issue#128-soft-delete July 31, 2018 06:38
@vikasrohit vikasrohit changed the base branch from feature/timeline-milestone-issue#128-soft-delete to feature/timeline-milestone July 31, 2018 06:39
@vikasrohit
Copy link

Apologies, @morehappiness I didn't saw that you already had the squashed commit. I just saw the 28 files changed.

@vikasrohit
Copy link

@morehappiness we would the sql script to migrate the schema to have deletedBy column in multiple tables. Would you be able to create a separate PR for that?

@morehappiness
Copy link
Contributor Author

What do you mean by ' squashed commit'? Yes, I will add deletedBy column in sql script

@morehappiness
Copy link
Contributor Author

@vikasrohit , do you mean to commit to branch 'feature/timeline-milestone-issue#128-soft-delete'

@morehappiness
Copy link
Contributor Author

It seems that the new tables in 20180608_project_add_templateId_and_new_tables.sql already have the deletedBy column. But i do not see the table definition for projects, project_attachments, project_members

@vikasrohit vikasrohit merged commit 3816711 into topcoder-platform:feature/timeline-milestone Aug 1, 2018
@vikasrohit
Copy link

What do you mean by ' squashed commit'? Yes, I will add deletedBy column in sql script

Squashed means, single commit for the change which you have already done. Thank you.

@vikasrohit , do you mean to commit to branch 'feature/timeline-milestone-issue#128-soft-delete'

No, that I created in assumption that you have committed more than 1 commit for the change. But it is not needed now as you have already committed only single commit.

It seems that the new tables in 20180608_project_add_templateId_and_new_tables.sql already have the deletedBy column. But i do not see the table definition for projects, project_attachments, project_members

Yes, those are missing as initially the project used sequelize sync method to create the tables in database even on production which have stopped using later to avoid unwanted db migrations automatically. You can add a new migration SQL with today's date and just add the alter commands needed to add the new columns to the tables.

@morehappiness
Copy link
Contributor Author

Yes, those are missing as initially the project used sequelize sync method to create the tables in database even on production which have stopped using later to avoid unwanted db migrations automatically. You can add a new migration SQL with today's date and just add the alter commands needed to add the new columns to the tables.

i see the pull request has been accepted. Do you still need the projects, project_attachments, project_members to add deletedBy column for migration?

@vikasrohit
Copy link

I created it. I think we are good now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-bash To collect all tasks for a bug bash
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants