Skip to content
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

Add DeletedItem class, RESTORE command #9

Merged
merged 39 commits into from
May 12, 2022
Merged

Add DeletedItem class, RESTORE command #9

merged 39 commits into from
May 12, 2022

Conversation

withaspirit
Copy link
Owner

@withaspirit withaspirit commented May 12, 2022

This satisfies an additional requirement for the Challenge.

Changes

  • (new) DeletedItem - item with comment
  • Command
    • (new) added RESTORE command
    • included comment in regex for DELETE
  • DDL.sql
    • added deleted_items table
  • Inputs.json
    • added cases for Restore item, Delete item with comment
  • DatabaseCLI
    • added restore() method (handles null case)
  • DatabasePresenter
    • added restoreItem() method
    • updated DatabasePresenterTest
  • Database
    • add methods to select a single item by id
    • updated DatabaseTest
  • pom.xml
    • added Apache Common Lang 3 dependency

@withaspirit withaspirit changed the title Add DeletedItem class Add DeletedItem class, RESTORE command May 12, 2022
@withaspirit withaspirit merged commit 19b6e44 into master May 12, 2022
@withaspirit withaspirit deleted the DeletedItems branch May 12, 2022 21:34
@withaspirit withaspirit mentioned this pull request May 18, 2022
Closed
27 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant