Fixed #22022 -- Add pre_create_sql support to db_parameters.

Allow fields to require some SQL to be run in advance of creating the
field. This is ideal for postgres extensions, but could also be used to
define custom functions in a third party app without requiring
migrations.