Skip to content

Commit

Permalink
docs migrations supported databases
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
silverqx committed Jun 23, 2022
1 parent 38dcfca commit 8d7fb28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/database/migrations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions docs/database/seeding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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>:
Expand Down

0 comments on commit 8d7fb28

Please sign in to comment.