Files
ccr_windmill/f/CCR_ETL/ccr_db_config.variable.yaml
2025-09-09 12:43:38 -04:00

190 lines
6.0 KiB
YAML

description: ''
value: |-
# Global table strategy (can be overridden per table)
table_strategy: drop_and_recreate
schema:
name: ccr_etl_raw
version: 1.0.0
description: CCR ETL Raw Data Schema
tables:
- name: mtgjson_skus
strategy: drop_and_recreate
columns:
- name: id
type: integer
description: internal database id
primary_key: true
autoincrement: true
- name: uuid
type: string
description: The UUID of the MTGJSON SKU
- name: condition
type: string
description: The condition of the MTGJSON SKU
- name: language
type: string
description: The language of the MTGJSON SKU
- name: printing
type: string
description: The printing of the MTGJSON SKU
- name: finish
type: string
description: The finish of the MTGJSON SKU
- name: productId
type: string
description: The tcgplayer product ID of the MTGJSON SKU
- name: skuId
type: string
description: The tcgplayer SKU ID of the MTGJSON SKU
- name: mtgjson_identifiers
strategy: drop_and_recreate
columns:
- name: id
type: integer
description: internal database id
primary_key: true
autoincrement: true
- name: uuid
type: string
description: The UUID of the MTGJSON Identifier
- name: name
type: string
description: The name of the MTGJSON Identifier
- name: setCode
type: string
description: The set code of the MTGJSON Identifier
- name: abuId
type: string
description: The Abu Games ID
- name: cardKingdomEtchedId
type: string
description: The Card Kingdom Etched ID
- name: cardKingdomFoilId
type: string
description: The Card Kingdom Foil ID
- name: cardKingdomId
type: string
description: The Card Kingdom ID
- name: cardsphereId
type: string
description: The Cardsphere ID
- name: cardsphereFoilId
type: string
description: The Cardsphere Foil ID
- name: cardtraderId
type: string
description: The Cardtrader ID
- name: csiId
type: string
description: The cool stuff inc ID
- name: mcmId
type: string
description: The cardmarket ID
- name: mcmMetaId
type: string
description: The cardmarket meta ID
- name: miniaturemarketId
type: string
description: The miniaturemarket ID
- name: mtgArenaId
type: string
description: The mtg arena ID
- name: mtgjsonFoilVersionId
type: string
description: The uuid generated by mtgjson for the foil version of a card
- name: mtgjsonNonFoilVersionId
type: string
description: The uuid generated by mtgjson for the non-foil version of a card
- name: mtgjsonV4Id
type: string
description: The uuid generated by mtgjson a card
- name: mtgoFoilId
type: string
description: The mtgo foil ID
- name: mtgoId
type: string
description: The mtgo ID
- name: multiverseId
type: string
description: The multiverse ID used by wotc for gatherer
- name: scgId
type: string
description: The starcitygames ID
- name: scryfallId
type: string
description: The scryfall ID
- name: scryfallCardBackId
type: string
description: The scryfall card back ID
- name: scryfallOracleId
type: string
description: The scryfall oracle ID
- name: scryfallIllustrationId
type: string
description: The scryfall illustration ID
- name: tcgplayerProductId
type: string
description: The tcgplayer product ID
- name: tcgplayerEtchedProductId
type: string
description: The tcgplayer etched product ID
- name: tntId
type: string
description: The troll and toad ID
- name: tcgcsv_categories
strategy: drop_and_recreate
columns:
- name: id
type: integer
description: internal database id
primary_key: true
autoincrement: true
- name: categoryId
type: integer
- name: name
type: string
- name: modifiedOn
type: string
- name: displayName
type: string
- name: seoCategoryName
type: string
- name: categoryDescription
type: string
- name: categoryPageTitle
type: string
- name: sealedLabel
type: string
- name: nonSealedLabel
type: string
- name: conditionGuideUrl
type: string
- name: isScannable
type: boolean
- name: popularity
type: integer
- name: isDirect
type: boolean
- name: tcgcsv_groups
strategy: drop_and_recreate
columns:
- name: id
type: integer
primary_key: true
autoincrement: true
- name: groupId
type: integer
- name: name
type: string
- name: abbreviation
type: string
- name: isSupplemental
type: boolean
- name: publishedOn
type: string
- name: modifiedOn
type: string
- name: categoryId
type: integer
is_secret: false