> For the complete documentation index, see [llms.txt](https://atit.gitbook.io/rails/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://atit.gitbook.io/rails/rails-note/db.md).

# DBの形式変換Rais6

MySQL / PostgreSQL / SQLite3

## 記事参考

## postgresqlに変更

```yaml
#postgresqlに変更
rails db:system:change --to=postgresql

#SQLiteに変更
rails db:system:change --to=sqlite3

#MySQLに変更
rails db:system:change --to=mysql
```

{% embed url="<https://k-koh.hatenablog.com/entry/2020/08/14/144129>" %}

{% embed url="<https://qiita.com/vinaka/items/fbdb17bebe75d40de995>" %}

***
