Skip to content

Commit

Permalink
Merge pull request #839 from supertokens/add-db-min-version
Browse files Browse the repository at this point in the history
Add min version for postgres and mysql
  • Loading branch information
rishabhpoddar authored Sep 5, 2024
2 parents cfaa00e + 394a0d6 commit 79dd7d0
Show file tree
Hide file tree
Showing 24 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v2/community/database-setup/mysql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
3 changes: 3 additions & 0 deletions v2/community/database-setup/postgresql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
2 changes: 2 additions & 0 deletions v2/emailpassword/custom-ui/init/database-setup/mysql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
3 changes: 3 additions & 0 deletions v2/emailpassword/custom-ui/init/database-setup/postgresql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
2 changes: 2 additions & 0 deletions v2/emailpassword/pre-built-ui/setup/database-setup/mysql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
2 changes: 2 additions & 0 deletions v2/passwordless/custom-ui/init/database-setup/mysql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
3 changes: 3 additions & 0 deletions v2/passwordless/custom-ui/init/database-setup/postgresql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
2 changes: 2 additions & 0 deletions v2/passwordless/pre-built-ui/setup/database-setup/mysql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
2 changes: 2 additions & 0 deletions v2/session/quick-setup/database-setup/mysql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
3 changes: 3 additions & 0 deletions v2/session/quick-setup/database-setup/postgresql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
2 changes: 2 additions & 0 deletions v2/thirdparty/custom-ui/init/database-setup/mysql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
3 changes: 3 additions & 0 deletions v2/thirdparty/custom-ui/init/database-setup/postgresql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
2 changes: 2 additions & 0 deletions v2/thirdparty/pre-built-ui/setup/database-setup/mysql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **MySQL 5.7**.
:::

:::tip blog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ import TabItem from '@theme/TabItem';

:::important
This is needed only if you are running the SuperTokens core yourself.

The minimum required version is **PostgreSQL 9.6**.
:::

:::tip blog
We also have [a blog post writeup](https://supertokens.com/blog/connect-supertokens-to-database) highlighting all the steps in more detail for different scenarios.
:::

## 1) Create a database 🛠️

```sql
CREATE DATABASE supertokens;
```
Expand Down

0 comments on commit 79dd7d0

Please sign in to comment.