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

Promotion claim date #4202

Merged
merged 2 commits into from
Dec 11, 2019
Merged

Promotion claim date #4202

merged 2 commits into from
Dec 11, 2019

Conversation

NejcZdovc
Copy link
Contributor

@NejcZdovc NejcZdovc commented Dec 10, 2019

Resolves brave/brave-browser#7297

Submitter Checklist:

Test Plan:

covered with unit tests

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@NejcZdovc NejcZdovc added this to the 1.4.x - Nightly milestone Dec 10, 2019
@NejcZdovc NejcZdovc requested a review from a team December 10, 2019 13:44
@NejcZdovc NejcZdovc self-assigned this Dec 10, 2019
const char* column = "claimed_at";
if (!db->DoesColumnExist(table_name_, column)) {
const std::string query = base::StringPrintf(
"ALTER TABLE %s ADD %s TIMESTAMP;",
Copy link
Contributor

Choose a reason for hiding this comment

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

do you need the semicolon in the end of sql statement?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not needed, can remove

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

Copy link
Collaborator

@tmancey tmancey left a comment

Choose a reason for hiding this comment

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

LGTM++

@NejcZdovc NejcZdovc added CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-linux CI/skip-macos-x64 Do not run CI builds for macOS x64 labels Dec 11, 2019
@NejcZdovc
Copy link
Contributor Author

CI passed on all OS except on windows (build didn't start). Restarting windows

@NejcZdovc NejcZdovc merged commit ab73f3d into master Dec 11, 2019
@NejcZdovc NejcZdovc deleted the promotion-claim-date branch December 11, 2019 15:21
bsclifton added a commit that referenced this pull request Jan 27, 2020
tmancey pushed a commit that referenced this pull request Jan 27, 2020
Promotion claim date
# Conflicts:
#	components/brave_rewards/browser/database/publisher_info_database.cc
#	components/brave_rewards/browser/database/publisher_info_database.h
#	components/brave_rewards/browser/database/publisher_info_database_unittest.cc
hashmi-waseem pushed a commit to hashmi-waseem/brave-core that referenced this pull request May 6, 2024
"Brave Ads has arrived!" notification should be shown on Linux after upgrade from 0.62.x - 0.64.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/skip-android Do not run CI builds for Android CI/skip-ios Do not run CI builds for iOS CI/skip-macos-x64 Do not run CI builds for macOS x64 feature/rewards
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add claim date to promotion
3 participants