-
Notifications
You must be signed in to change notification settings - Fork 892
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
Promotion claim date #4202
Conversation
components/brave_rewards/browser/database/database_promotion.cc
Outdated
Show resolved
Hide resolved
components/brave_rewards/browser/database/database_promotion.cc
Outdated
Show resolved
Hide resolved
components/brave_rewards/browser/database/publisher_info_database_unittest.cc
Show resolved
Hide resolved
35f9dd0
to
d720591
Compare
const char* column = "claimed_at"; | ||
if (!db->DoesColumnExist(table_name_, column)) { | ||
const std::string query = base::StringPrintf( | ||
"ALTER TABLE %s ADD %s TIMESTAMP;", |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not needed, can remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
d720591
to
f122644
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM++
CI passed on all OS except on windows (build didn't start). Restarting windows |
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
"Brave Ads has arrived!" notification should be shown on Linux after upgrade from 0.62.x - 0.64.x
Resolves brave/brave-browser#7297
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
covered with unit tests
Reviewer Checklist:
After-merge Checklist:
changes has landed on.