File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
docs/src/contributor_guide Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
4
4
[print_schema ]
5
5
# The file diesel will write the generated schema to.
6
- file = " optd/src/storage/schema.rs"
6
+ file = " optd-storage /src/storage/schema.rs"
7
7
8
8
9
9
# A column of type `INTEGER PRIMARY KEY` becomes an alias for the 64-bit signed integer `ROWID`.
@@ -12,4 +12,4 @@ sqlite_integer_primary_key_is_bigint = true
12
12
13
13
[migrations_directory ]
14
14
# The directory where the migration files are located.
15
- dir = " optd/migrations"
15
+ dir = " optd-storage /migrations"
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ To generate a new migration, use the following command:
18
18
diesel migration generate < migration_name>
19
19
```
20
20
21
- Diesel CLI will create two empty files in the ` optd/migrations ` folder. You will see output that looks something like this:
21
+ Diesel CLI will create two empty files in the ` optd-storgage /migrations ` folder. You will see output that looks something like this:
22
22
23
23
``` shell
24
- Creating optd/migrations/2025-01-20-153830_< migration_name> /up.sql
25
- Creating optd/migrations/2025-01-20-153830_< migration_name> /down.sql
24
+ Creating optd-storage /migrations/2025-01-20-153830_< migration_name> /up.sql
25
+ Creating optd-storage /migrations/2025-01-20-153830_< migration_name> /down.sql
26
26
```
27
27
28
28
The ` up.sql ` file should contain the changes you want to apply and ` down.sql ` should contain the command to revert the changes.
You can’t perform that action at this time.
0 commit comments