[DB] Update schema and controllers by kzndotsh · Pull Request #144 · allthingslinux/tux
refactor(schema.prisma): change InfractionType from enum to string for flexibility refactor(schema.prisma): make created_at fields nullable and default to now() for better data consistency refactor(database/controllers.py): rename find_users and find_user to get_all_users and get_user_by_id for better readability feat(database/controllers.py): add InfractionsController and SnippetsController to handle infractions and snippets related operations refactor(database/controllers.py): move InfractionType enum to controllers.py for better organization