From 8d7fb287b9bb9cd7dedc8462d5d59f0e133d6a48 Mon Sep 17 00:00:00 2001 From: silverqx Date: Thu, 23 Jun 2022 19:04:52 +0200 Subject: [PATCH] docs migrations supported databases [skip ci] --- docs/database/migrations.mdx | 6 +++--- docs/database/seeding.mdx | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/database/migrations.mdx b/docs/database/migrations.mdx index cc53720fb..c9f955fb0 100644 --- a/docs/database/migrations.mdx +++ b/docs/database/migrations.mdx @@ -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 diff --git a/docs/database/seeding.mdx b/docs/database/seeding.mdx index 8ae02c576..e9397b7d0 100644 --- a/docs/database/seeding.mdx +++ b/docs/database/seeding.mdx @@ -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 pwd: