mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 03:47:23 +01:00
Add initial database including simple abstractions
This commit is contained in:
parent
868e1168e5
commit
c67cefb38a
12 changed files with 772 additions and 0 deletions
17
README.md
17
README.md
|
|
@ -19,6 +19,23 @@ Afterwards you can compile and run the program using:
|
|||
$ cargo run
|
||||
```
|
||||
|
||||
This program uses [Diesel](https://diesel.rs) as its ORM. After installing
|
||||
the Diesel command line utility, you will be able to create a new schema
|
||||
migration using the following command:
|
||||
|
||||
```
|
||||
$ diesel migration generate [change_description]
|
||||
```
|
||||
|
||||
To update the `src/database/schema.rs` file, you should use the following
|
||||
command:
|
||||
|
||||
```
|
||||
$ diesel migration run --database-url test.sqlite
|
||||
```
|
||||
|
||||
This file should never be edited manually.
|
||||
|
||||
## License
|
||||
|
||||
Musicus Editor is free and open source software: you can redistribute it and/or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue