Manual:SQL patch file

You might write an SQL file either for a schema change in the core (see policy>Special:MyLanguage/Development_policy#Database_patches|Development_policy#Database_patches, ) or for an extension (see ).

Example
An SQL file to create a table might look something like this: