Manual:CreateExtensionTables.php

See Creating new tables and Backport windows/Deployers.