---
title: "Discussion on \"How to create a test database with Laravel Sail\" | Hashnode"
description: "Discussion on \"How to create a test database with Laravel Sail\". Introduction\nI have worked on projects that required the production and testing database to be the same.\nThis could be because some features work in MariaDB, but not in SQLite. Or some bugs appear in MySQL, but not in PostgreSQL.\nWhen you're working ..."
url: "https://hashnode.com/posts/how-to-create-a-test-database-with-laravel-sail/63026639dc09f71f101c7fbc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to create a test database with Laravel Sail](https://blog.akbal.dev/how-to-create-a-test-database-with-laravel-sail?utm_source=hashnode&utm_medium=feed)

Introduction I have worked on projects that required the production and testing database to be the same. This could be because some features work in MariaDB, but not in SQLite. Or some bugs appear in MySQL, but not in PostgreSQL. When you're working ...

Aug 21, 2022 · 2 min read · blog.akbal.dev  
Read the article

-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#laravel](https://hashnode.com/tag/laravel)
-   [#docker](https://hashnode.com/tag/docker)
-   [#databases](https://hashnode.com/tag/databases)

## Written by

[Alejandro Akbal](https://hashnode.com/@AlejandroAkbal)

@AlejandroAkbal · Spain

  
[View profile](https://hashnode.com/@AlejandroAkbal)

Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
