Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seed database automatically #26

Closed
saminouidri opened this issue Mar 15, 2024 · 1 comment
Closed

Seed database automatically #26

saminouidri opened this issue Mar 15, 2024 · 1 comment
Assignees
Labels

Comments

@saminouidri
Copy link
Collaborator

Find a way to seed the database automatically so as to enable the teachers to test the application by creating posts.

Right now, when creating a post, placeholders for space_id, user_id and tag_id are used. They are all set to 1, so the database must have entries with that id for each object.

@ylked
Copy link
Collaborator

ylked commented Mar 21, 2024

fixed by allowing null values for space and tags fields, see #40

@ylked ylked closed this as completed Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants