docs migrations supported databases

[skip ci]
This commit is contained in:
silverqx
2022-06-23 19:04:52 +02:00
parent 38dcfca139
commit 8d7fb287b9
2 changed files with 3 additions and 7 deletions

View File

@@ -53,11 +53,11 @@ The TinyORM `Schema` facade provides database agnostic support for creating and
`Tom` migrations is a small console application that depends on the `TinyORM` library. All migrations logic is compiled so recompilation is needed after adding a new migration class.
:::caution
Currently, TinyORM's schema builder provides first-party support for the MySQL and PostgreSQL database. Support for the SQLite databases is not implemented 😢.
The [`schema builder`](database/migrations.mdx#tables) and [`migrations`](database/migrations.mdx) don't support [multi-threading](database/getting-started.mdx#multi-threading-support).
:::
:::caution
The [`schema builder`](database/migrations.mdx#tables) and [`migrations`](database/migrations.mdx) don't support [multi-threading](database/getting-started.mdx#multi-threading-support).
:::note
TinyORM's schema builder supports all [supported databases](database/getting-started.mdx#introduction) out of the box.
:::
## Generating Migrations

View File

@@ -20,10 +20,6 @@ TinyORM includes the ability to seed your database with data using seed classes.
[Mass assignment protection](tinyorm/getting-started.mdx#mass-assignment) is automatically disabled during database seeding.
:::
:::note
Because seeding is independent of the schema builder, it supports all [supported databases](database/getting-started.mdx#introduction) out of the box.
:::
## Writing Seeders
To generate a seeder, execute the `make:seeder` `tom` command. A new seeder will be placed in the `database/seeders` directory relative to the current <abbr title='Current working directory'>pwd</abbr>: