mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
cleans up structure of the docs (#21484)
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
This commit is contained in:
1 parent
9d48a9dda9
commit
85a6c5f640
10 files changed
+38
-35
No files matched your search
@@ -1924,6 +1924,11 @@ export const resources: NavMenuConstant = {
|
||||
name: 'Migrate to Supabase',
|
||||
url: '/guides/resources/migrating-to-supabase',
|
||||
items: [
|
||||
{
|
||||
name: 'Amazon RDS',
|
||||
url: '/guides/resources/migrating-to-supabase/amazon-rds',
|
||||
items: [],
|
||||
},
|
||||
{
|
||||
name: 'Auth0',
|
||||
url: '/guides/resources/migrating-to-supabase/auth0',
|
||||
@@ -1933,7 +1938,7 @@ export const resources: NavMenuConstant = {
|
||||
url: '/guides/resources/migrating-to-supabase/firebase-auth',
|
||||
},
|
||||
{
|
||||
name: 'Firestore Data',
|
||||
name: 'Firebase Firestore',
|
||||
url: '/guides/resources/migrating-to-supabase/firestore-data',
|
||||
},
|
||||
{
|
||||
@@ -1941,23 +1946,9 @@ export const resources: NavMenuConstant = {
|
||||
url: '/guides/resources/migrating-to-supabase/firebase-storage',
|
||||
},
|
||||
{
|
||||
name: 'Heroku',
|
||||
name: 'Heroku Postgres',
|
||||
url: '/guides/resources/migrating-to-supabase/heroku',
|
||||
},
|
||||
{
|
||||
name: 'Render',
|
||||
url: '/guides/resources/migrating-to-supabase/render',
|
||||
},
|
||||
{
|
||||
name: 'Amazon RDS',
|
||||
url: '/guides/resources/migrating-to-supabase/amazon-rds',
|
||||
items: [],
|
||||
},
|
||||
{
|
||||
name: 'Postgres',
|
||||
url: '/guides/resources/migrating-to-supabase/postgres',
|
||||
items: [],
|
||||
},
|
||||
{
|
||||
name: 'MySQL',
|
||||
url: '/guides/resources/migrating-to-supabase/mysql',
|
||||
@@ -1968,6 +1959,15 @@ export const resources: NavMenuConstant = {
|
||||
url: '/guides/resources/migrating-to-supabase/mssql',
|
||||
items: [],
|
||||
},
|
||||
{
|
||||
name: 'Postgres',
|
||||
url: '/guides/resources/migrating-to-supabase/postgres',
|
||||
items: [],
|
||||
},
|
||||
{
|
||||
name: 'Render',
|
||||
url: '/guides/resources/migrating-to-supabase/render',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: 'Migrate from Amazon RDS to Supabase'
|
||||
description: 'Migrate your Amazon RDS MySQL or MS SQL database to Supabase Postgres database.'
|
||||
description: 'Migrate your Amazon RDS MySQL or MS SQL database to Supabase.'
|
||||
subtitle: 'Migrate your Amazon RDS MySQL or MS SQL database to Supabase.'
|
||||
---
|
||||
|
||||
This guide aims to exhibit the process of transferring your Amazon RDS database from any of these engines Postgres, MySQL or MS SQL to Supabase's Postgres database. Although Amazon RDS is a favored managed database service provided by AWS, it may not suffice for all use cases. Supabase, on the other hand, provides an excellent free and open source option that encompasses all the necessary backend features to develop a product: a Postgres database, authentication, instant APIs, edge functions, real-time subscriptions, and storage.
|
||||
@@ -21,9 +22,7 @@ Supabase's core is Postgres, enabling the use of row-level security and providin
|
||||
|
||||
## Retrieve your Supabase host [#retrieve-supabase-host]
|
||||
|
||||
1. If you're new to Supabase, [create a project](https://supabase.com/dashboard).
|
||||
Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/settings/database).
|
||||
|
||||
1. If you're new to Supabase, [create a project](https://database.new). Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/settings/database).
|
||||
1. Go to the [Database settings](https://supabase.com/dashboard/project/_/settings/database) for your project in the Supabase Dashboard.
|
||||
1. Under **Connection Info**, note your Host (`$SUPABASE_HOST`).
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
---
|
||||
id: 'firebase-auth'
|
||||
title: 'Firebase Auth Migration'
|
||||
description: 'Migrate Firebase auth users to a Supabase project.'
|
||||
sidebar_label: 'Firebase Auth'
|
||||
title: 'Migrate from Firebase Auth to Supabase'
|
||||
description: 'Migrate Firebase auth users to Supabase Auth.'
|
||||
subtitle: 'Migrate Firebase auth users to Supabase Auth.'
|
||||
---
|
||||
|
||||
Supabase provides several [tools](https://github.com/supabase-community/firebase-to-supabase/tree/main/auth) to help migrate auth users from a Firebase project to a Supabase project. There are two parts to the migration process:
|
||||
|
||||
- `firestoreusers2json` ([TypeScript](https://github.com/supabase-community/firebase-to-supabase/blob/main/auth/firestoreusers2json.ts), [JavaScript](https://github.com/supabase-community/firebase-to-supabase/blob/main/auth/firestoreusers2json.js)) exports users from an existing Firebase project to a `.json` file on your local system.
|
||||
- `import_users` ([TypeScript](https://github.com/supabase-community/firebase-to-supabase/blob/main/auth/import_users.ts), [JavaScript](https://github.com/supabase-community/firebase-to-supabase/blob/main/auth/import_users.js)) imports users from a saved `.json` file into your Supabase project (inserting those users into the `auth.users` table of your `PostgreSQL` database instance).
|
||||
- `import_users` ([TypeScript](https://github.com/supabase-community/firebase-to-supabase/blob/main/auth/import_users.ts), [JavaScript](https://github.com/supabase-community/firebase-to-supabase/blob/main/auth/import_users.js)) imports users from a saved `.json` file into your Supabase project (inserting those users into the `auth.users` table of your `Postgres` database instance).
|
||||
|
||||
## Set up the migration tool [#set-up-migration-tool]
|
||||
|
||||
@@ -69,7 +69,7 @@ hash_config {
|
||||
- `filename.json`: (optional) output filename (defaults to `./users.json`)
|
||||
- `batchSize`: (optional) number of users to fetch in each batch (defaults to 100)
|
||||
|
||||
### Import JSON users file to Supabase Auth (PostgreSQL: auth.users) [#import-json-users-file]
|
||||
### Import JSON users file to Supabase Auth (Postgres: auth.users) [#import-json-users-file]
|
||||
|
||||
`node import_users.js <path_to_json_file> [<batch_size>]`
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
id: 'firebase-storage'
|
||||
title: 'Firebase Storage Migration'
|
||||
title: 'Migrated from Firebase Storage to Supabase'
|
||||
description: 'Migrate Firebase Storage files to Supabase Storage.'
|
||||
sidebar_label: 'Firebase Storage'
|
||||
subtitle: 'Migrate Firebase Storage files to Supabase Storage.'
|
||||
---
|
||||
|
||||
Supabase provides several [tools](https://github.com/supabase-community/firebase-to-supabase/tree/main/storage) to convert storage files from Firebase Storage to Supabase Storage. Conversion is a two-step process:
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
id: 'firestore-data'
|
||||
title: 'Firestore Data Migration'
|
||||
title: 'Migrated from Firebase Firestore to Supabase'
|
||||
description: 'Migrate your Firebase Firestore database to a Supabase Postgres database.'
|
||||
sidebar_label: 'Firestore Data'
|
||||
subtitle: 'Migrate your Firebase Firestore database to a Supabase Postgres database.'
|
||||
---
|
||||
|
||||
Supabase provides several [tools](https://github.com/supabase-community/firebase-to-supabase/tree/main/firestore) to convert data from a Firebase Firestore database to a Supabase PostgreSQL database. The process copies the entire contents of a single Firestore `collection` to a single PostgreSQL `table`.
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
id: 'heroku'
|
||||
title: 'Migrate from Heroku to Supabase'
|
||||
description: 'Migrate your Heroku Postgres database to Supabase.'
|
||||
sidebar_label: 'Heroku'
|
||||
video: 'https://www.youtube.com/v/xsRhPMphtZ4'
|
||||
subtitle: 'Migrate your Heroku Postgres database to Supabase.'
|
||||
tocVideo: 'xsRhPMphtZ4'
|
||||
---
|
||||
|
||||
Supabase is one of the best [free alternatives to Heroku Postgres](https://supabase.com/alternatives/supabase-vs-heroku-postgres). This guide shows how to migrate your Heroku Postgres database to Supabase. This migration requires the [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html) and [psql](https://www.postgresql.org/docs/current/app-psql.html) CLI tools, which are installed automatically as part of the complete PostgreSQL installation package.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: 'Migrate Your MSSQL Database to Supabase'
|
||||
description: 'Migrate your Microsoft SQL Server database to Supabase Postgres database.'
|
||||
title: 'Migrate from MSSQL to Supabase'
|
||||
description: 'Migrate your Microsoft SQL Server database to Supabase.'
|
||||
subtitle: 'Migrate your Microsoft SQL Server database to Supabase.'
|
||||
---
|
||||
|
||||
This guide aims to demonstrate the process of transferring your Microsoft SQL Server database to Supabase's PostgreSQL database. Supabase is a powerful and open-source platform offering a wide range of backend features, including a PostgreSQL database, authentication, instant APIs, edge functions, real-time subscriptions, and storage. Migrating your MSSQL database to Supabase's Postgres enables you to leverage Postgres's capabilities and access all the features you need for your project.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: 'Migrate Your MySQL Database to Supabase'
|
||||
title: 'Migrate from MySQL to Supabase'
|
||||
description: 'Migrate your MySQL database to Supabase Postgres database.'
|
||||
subtitle: 'Migrate your MySQL database to Supabase Postgres database.'
|
||||
---
|
||||
|
||||
This guide aims to exhibit the process of transferring your MySQL database to Supabase's Postgres database. Supabase is a robust and open-source platform offering a wide range of backend features, including a PostgreSQL database, authentication, instant APIs, edge functions, real-time subscriptions, and storage. Migrating your MySQL database to Supabase's PostgreSQL enables you to leverage PostgreSQL's capabilities and access all the features you need for your project.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: 'Migrate from Postgres to Supabase'
|
||||
description: 'Migrate your Postgres database to Supabase.'
|
||||
description: 'Migrate your existing Postgres database to Supabase.'
|
||||
subtitle: 'Migrate your existing Postgres database to Supabase.'
|
||||
---
|
||||
|
||||
This is a guide for migrating your Postgres database to [Supabase](https://supabase.com).
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: 'Migrate from Render to Supabase'
|
||||
description: 'Migrate your Render Postgres database to Supabase.'
|
||||
subtitle: 'Migrate your Render Postgres database to Supabase.'
|
||||
---
|
||||
|
||||
Render is a popular Web Hosting service in the online services category that also has a managed Postgres service. Render has a great developer experience, allowing users to deploy straight from GitHub or GitLab. This is the core of their product and they do it really well. However, when it comes to Postgres databases, it may not be the best option.
|
||||
|
||||
Reference in new issue
Block a user