-- Absender-/Firmenstammdaten (Einzel-Zeile) fuer Gutschrift-PDF + ZUGFeRD.
CREATE TABLE IF NOT EXISTS `CompanyProfile` (
  `id`                 INT NOT NULL AUTO_INCREMENT,
  `name`               VARCHAR(191) NOT NULL DEFAULT '',
  `street`             VARCHAR(191) NOT NULL DEFAULT '',
  `houseNumber`        VARCHAR(191) NOT NULL DEFAULT '',
  `postalCode`         VARCHAR(191) NOT NULL DEFAULT '',
  `city`               VARCHAR(191) NOT NULL DEFAULT '',
  `country`            VARCHAR(191) NOT NULL DEFAULT 'DE',
  `vatId`              VARCHAR(191) NOT NULL DEFAULT '',
  `taxNumber`          VARCHAR(191) NOT NULL DEFAULT '',
  `commercialRegister` VARCHAR(191) NOT NULL DEFAULT '',
  `managingDirector`   VARCHAR(191) NOT NULL DEFAULT '',
  `email`              VARCHAR(191) NOT NULL DEFAULT '',
  `phone`              VARCHAR(191) NOT NULL DEFAULT '',
  `website`            VARCHAR(191) NOT NULL DEFAULT '',
  `iban`               VARCHAR(191) NOT NULL DEFAULT '',
  `bic`                VARCHAR(191) NOT NULL DEFAULT '',
  `bankName`           VARCHAR(191) NOT NULL DEFAULT '',
  `logoPath`           VARCHAR(191) NULL,
  `updatedAt`          DATETIME(3) NOT NULL,
  PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
