Commit 6ec6b613 authored by moha-s's avatar moha-s
Browse files

add new job artisan_migrate and modify job metadata

parent a23c0fb2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5,7 +5,8 @@ This job will allow you to migrate the database using a migration file that you
## How to use it

!!! info
    Your need to link your remote database in the environment variables file, so make sure that you are using the correct database credentials.
    You can use this job with all Data Base Management Systems (mysql, postgressql ...), you just need to link your remote database in the environment variables file, so make sure that you are using the correct database credentials.
    

1. Ensure that your project has a premade environment file such as `.env.testing` in example, which contains the variables that will be used by the project.
2. Add this job URL inside the `include` list of your `.gitlab-ci.yml` file (see the [quick setup](/use-the-hub/#quick-setup)). You can specify [a fixed version](#changelog) instead of `latest`.
+1 −0
Original line number Diff line number Diff line
@@ -9,5 +9,6 @@ images:
tools:
labels:
    - GitLab
    - PHP
    - Artisan
    - Database