> For the complete documentation index, see [llms.txt](https://meadow-development.gitbook.io/meadow-development-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://meadow-development.gitbook.io/meadow-development-docs/skripte/it_licenseplate/datenbank-sql.md).

# Datenbank(SQL)

IT\_Licenseplate | licenseplate.sql:

```
CREATE TABLE `licenseplate` (
    `plate` varchar(12) NOT NULL,
    `platedata` longtext NOT NULL,
	PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
```

IT\_TechnicalInspection | technical\_inspection.sql:

```
CREATE TABLE IF NOT EXISTS `technical_inspection` (
	`id` INT NOT NULL AUTO_INCREMENT,
	`serviceid` varchar(255) NOT NULL,
	`servicedate` DATE NOT NULL DEFAULT (CURRENT_DATE),
	`plate` varchar(12) NOT NULL,
	`customerid` VARCHAR(5) NOT NULL,
	`data` longtext NOT NULL DEFAULT "{}",

	PRIMARY KEY(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=15500;

CREATE TABLE IF NOT EXISTS `technical_inspection_customer` (
	`identifier` VARCHAR(60) NOT NULL,
	`id` INT NOT NULL AUTO_INCREMENT,
	`data` longtext NOT NULL DEFAULT "{}",

	PRIMARY KEY(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=20500;

CREATE TABLE IF NOT EXISTS `technical_inspection_vehicle` (
	`plate` varchar(12) NOT NULL,
	`data` longtext NOT NULL DEFAULT "{}",
	`customerid` VARCHAR(5) NOT NULL,

	PRIMARY KEY(`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


```

IT\_Versicherung | versicherung.sql:

```
CREATE TABLE IF NOT EXISTS `versicherung` (
	`owner` VARCHAR(60) NOT NULL,
	`id` VARCHAR(60) NOT NULL,
    `name` longtext NOT NULL,
	`typ` longtext NOT NULL,
    `data` longtext NOT NULL,
	`money` VARCHAR(5) NOT NULL,
	`vehiclecheck` longtext DEFAULT NULL,
	`last_pay` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
	PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

ALTER TABLE `users` ADD IF NOT EXISTS `healthcare_rang` VARCHAR(1) NOT NULL DEFAULT 1;
```

IT\_Zulassungsstelle | zulassungsstelle.sql:

```
CREATE TABLE `zulassungsstelle` (
	`model` longtext NOT NULL,
	`owner` VARCHAR(60) NOT NULL,
    `plate` varchar(12) NOT NULL,
    `platedata` longtext NOT NULL,
    `vin` longtext NOT NULL,
    `date` DATE NOT NULL DEFAULT CURRENT_TIMESTAMP,
	PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://meadow-development.gitbook.io/meadow-development-docs/skripte/it_licenseplate/datenbank-sql.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
