mirror of
https://github.com/silverqx/TinyORM.git
synced 2025-12-21 10:29:36 -06:00
docs migrations supported databases
[skip ci]
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>:
|
||||
|
||||
Reference in New Issue
Block a user