import { type PoolClient } from '@evershop/postgres-query-builder'; /** * Seed a store-wide "copyright" text metafield (owner_type = 'shop'). * * Lives in the `base` module on purpose — the same module as Version-1.0.3, * which creates the `metafield_type` enum and the `metafield_definition` / * `metafield_shop` tables this INSERT depends on. Migrations within a module run * in strict semver order (bin/lib/bootstrap/migrate.js sorts by semver.compare), * so 1.0.6 is guaranteed to execute after 1.0.3 — no cross-module ordering * assumption. * * Gives merchants an editable footer copyright line: the definition surfaces * automatically in the Store Settings custom-fields card (StandaloneMetafieldCard * with ownerType="shop"), its value lives in the `metafield_shop` singleton, and * the storefront + admin footers read it via `themeConfig.copyRight` (the cms * ThemeConfig resolver), falling back to the theme config default while unset. * * `short_text` is the single-line text type. `ON CONFLICT DO NOTHING` keeps the * migration idempotent and never clobbers an operator's own `custom.copyright`. */ declare const _default: (connection: PoolClient) => Promise; export default _default;