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 a basic database upgrader #1751

Merged
merged 5 commits into from
May 18, 2020
Merged

Add a basic database upgrader #1751

merged 5 commits into from
May 18, 2020

Conversation

spacedmonkey
Copy link
Contributor

Summary

Add a basic database upgrader in PHP.

Fixes #754

@codecov
Copy link

codecov bot commented May 13, 2020

Codecov Report

Merging #1751 into master will increase coverage by 0.02%.
The diff coverage is 80.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1751      +/-   ##
============================================
+ Coverage     63.76%   63.79%   +0.02%     
- Complexity      230      235       +5     
============================================
  Files           586      587       +1     
  Lines          9557     9572      +15     
============================================
+ Hits           6094     6106      +12     
- Misses         3463     3466       +3     
Impacted Files Coverage Δ Complexity Δ
includes/Plugin.php 0.00% <0.00%> (ø) 1.00 <0.00> (ø)
web-stories.php 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
includes/Database_Upgrader.php 100.00% <100.00%> (ø) 5.00 <5.00> (?)

@github-actions
Copy link
Contributor

github-actions bot commented May 13, 2020

Size Change: 0 B

Total Size: 871 kB

ℹ️ View Unchanged
Filename Size Change
assets/css/edit-story.css 3.04 kB 0 B
assets/css/stories-dashboard.css 3.04 kB 0 B
assets/js/edit-story.js 406 kB 0 B
assets/js/stories-dashboard.js 459 kB 0 B

compressed-size-action

@swissspidy swissspidy added PHP Pull requests that update PHP code Type: Enhancement New feature or improvement of an existing feature Group: WordPress Changes related to WordPress or Gutenberg integration labels May 13, 2020
@spacedmonkey spacedmonkey force-pushed the feature/database-upgrader branch 2 times, most recently from a0737c6 to d832d5b Compare May 13, 2020 13:39
@spacedmonkey
Copy link
Contributor Author

@swissspidy Can you review this again?

@swissspidy swissspidy merged commit da56dc4 into master May 18, 2020
@swissspidy swissspidy deleted the feature/database-upgrader branch May 18, 2020 11:18
@swissspidy swissspidy changed the title Add a basic database upgrader. Add a basic database upgrader May 18, 2020
obetomuniz added a commit that referenced this pull request May 18, 2020
* master: (62 commits)
  Bump puppeteer from 3.0.4 to 3.1.0 (#1826)
  ignore karma tests from coverage
  review fixes
  Update karma.config.js
  Update .eslintrc
  Incrase timeout for visual regression test (#1785)
  Dashboard: Adds Tooltips. Borders around Preview Cards. (#1800)
  Update issue & PR templates (#1824)
  Add docs about Stories Labs env (#1815)
  Bump @wordpress/e2e-test-utils from 4.6.0 to 4.7.0 (#1790)
  Add a basic database upgrader. (#1751)
  Fix Design Panel scrolling on Safari (#1724)
  Add useCallback for DropTargetsProvider and MediaPane (#1709)
  Use useMemo for context values (#1707)
  Bump eslint-plugin-jest from 23.13.0 to 23.13.1 (#1819)
  Move jobs with dependencies together
  Alignment text element while editing (#1717)
  Workflow: Do build in release assets job
  Ignore patches folder from build
  Fix text alignment. (#1802)
  ...
obetomuniz added a commit that referenced this pull request May 19, 2020
* master: (43 commits)
  Fix issue templates headers
  Bump karma from 5.0.5 to 5.0.8 (#1851)
  add allow-empty-input in linter so that changes in storybook js don't fail in pre-commit (#1850)
  add FlagsProvider to storybook
  simplify jasmine eslint rules
  Bump @testing-library/dom from 7.5.6 to 7.5.7 (#1829)
  Bump react-moveable from 0.20.6 to 0.20.7 (#1827)
  Bump puppeteer from 3.0.4 to 3.1.0 (#1826)
  review fixes
  Karma: puppeeter support and native events
  ignore karma tests from coverage
  review fixes
  Update karma.config.js
  Update .eslintrc
  Incrase timeout for visual regression test (#1785)
  Dashboard: Adds Tooltips. Borders around Preview Cards. (#1800)
  Update issue & PR templates (#1824)
  Add docs about Stories Labs env (#1815)
  Bump @wordpress/e2e-test-utils from 4.6.0 to 4.7.0 (#1790)
  Add a basic database upgrader. (#1751)
  ...
obetomuniz added a commit that referenced this pull request May 19, 2020
* master: (77 commits)
  Fix issue templates headers
  Bump karma from 5.0.5 to 5.0.8 (#1851)
  add allow-empty-input in linter so that changes in storybook js don't fail in pre-commit (#1850)
  add FlagsProvider to storybook
  simplify jasmine eslint rules
  Bump @testing-library/dom from 7.5.6 to 7.5.7 (#1829)
  Bump react-moveable from 0.20.6 to 0.20.7 (#1827)
  Bump puppeteer from 3.0.4 to 3.1.0 (#1826)
  review fixes
  Karma: puppeeter support and native events
  ignore karma tests from coverage
  review fixes
  Update karma.config.js
  Update .eslintrc
  Incrase timeout for visual regression test (#1785)
  Dashboard: Adds Tooltips. Borders around Preview Cards. (#1800)
  Update issue & PR templates (#1824)
  Add docs about Stories Labs env (#1815)
  Bump @wordpress/e2e-test-utils from 4.6.0 to 4.7.0 (#1790)
  Add a basic database upgrader. (#1751)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Group: WordPress Changes related to WordPress or Gutenberg integration PHP Pull requests that update PHP code Type: Enhancement New feature or improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Database Upgrade Routines
3 participants