Page MenuHomePhabricator

Update the quickstart.sql
ClosedPublic

Authored by epriestley on Nov 6 2014, 9:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 4:50 AM
Unknown Object (File)
Mon, Apr 8, 10:25 AM
Unknown Object (File)
Mon, Apr 8, 9:28 AM
Unknown Object (File)
Wed, Apr 3, 8:50 AM
Unknown Object (File)
Mon, Mar 25, 5:50 PM
Unknown Object (File)
Mon, Mar 25, 5:50 PM
Unknown Object (File)
Mon, Mar 25, 5:50 PM
Unknown Object (File)
Mon, Mar 25, 4:04 PM
Subscribers

Details

Summary

Ref T1191. Use storage quickstart to regenerate quickstart.sql using modern schema construction statements.

This puts new installs into utf8mb4 mode immediately without requiring storage adjustment.

Test Plan
  • Ran arc unit --everything, which uses quickstart.
  • Ran bin/storage upgrade --namespace temp, to quickstart a new namespace.
  • Ran bin/storage upgrade --namespace temp --disable-utf8mb4, to quickstart a new namespace without utf8mb4 support.

Diff Detail

Repository
rP Phabricator
Branch
adjust1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2968
Build 2972: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Update the quickstart.sql.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
resources/sql/autopatches/20141106.dropold.sql
1

This is a very old table which was removed from quickstart long ago but may still exist on installs which have upgraded from day 1 using patches. It is unused.

(This wasn't shown by bin/storage adjust before because we didn't complain about errors.)

src/infrastructure/storage/management/workflow/PhabricatorStorageManagementQuickstartWorkflow.php
142–146

Quality of life.

btrahan edited edge metadata.
This revision is now accepted and ready to land.Nov 6 2014, 9:13 PM
This revision was automatically updated to reflect the committed changes.