Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Database modeling

# This action works with pull requests and pushes
on:
pull_request:
branches:
- master

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Generate Data Schema
uses: noah-software/django_action@v1.0
with:
# This part is also where you can pass other options, for example:
commit_message: Updated Database schema
output_path: database.png
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ A website giving you recipe ideas for an healthy week.

Tired of unique random recipes? Try to get weekly equilibrium!

## Database

![Database](database.png)

## License

This project is under the [GNU AGPLv3](https://choosealicense.com/licenses/agpl-3.0/) license
Expand Down
Binary file added database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recettes/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"django.contrib.staticfiles",
"app.apps.ApplicationConfig",
"markdown_deux",
"django_extensions",
]

MIDDLEWARE = [
Expand Down