You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-15Lines changed: 42 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,17 +36,17 @@ Created and maintained (with the help of the community) by [@tchapi](https://git
36
36
composer install
37
37
```
38
38
39
-
2. At least put the correct credentials to your database in your `.env.local` file so you can easily create your database.
39
+
2. At least put the correct credentials to your database in your `.env.local` file so you can easily create the necessary tables.
40
40
41
-
3.Create the database:
41
+
3.Run the migrations to create all the necessary tables:
42
42
43
43
```
44
-
bin/console doctrine:schema:create
44
+
bin/console doctrine:migrations:migrate
45
45
```
46
46
47
-
**Davis** can be used with a pre-existing MySQL database (_for instance, one previously managed by Baïkal_). The only missing table would be the `migrations` table, that you can recreate automatically when running the migrations.
47
+
**Davis** can also be used with a pre-existing MySQL database (_for instance, one previously managed by Baïkal_). See the paragraph "Migrating from Baikal" for more info.
48
48
49
-
> The migrations are not _exactly_ equivalent to those of Baïkal, and allow for a bit more room in columns.
49
+
> The tables are not _exactly_ equivalent to those of Baïkal, and allow for a bit more room in columns for instance (among other things)
50
50
51
51
## Configuration
52
52
@@ -57,7 +57,7 @@ Create your own `.env.local` file to change the necessary variables, if you plan
57
57
a. The database url (_you should already have it configured since you created the database previously_)
0 commit comments