oxidetalis/crates/oxidetalis_entities
Awiteb fc0642fce6
All checks were successful
Write changelog / write-changelog (push) Successful in 4s
Update Contributors / Update Contributors (push) Successful in 4s
Rust CI / Rust CI (push) Successful in 4m40s
refactor: Refactor in_chat_requests table
- Rename `in_chat_requests` table to `incoming_chat`
- Send chat requests and responses when the user is online
- Remove `IncomingChatExt::remove_in_chat_request` trait function
- Rename `in_on` col of `incoming_chat` table to `received_timestamp`
- Add `accepted_response` col to `incoming_chat` table
- Rename `UserId` to `IdCol` and make it private

Reviewed-by: Amjad Alsharafi <me@amjad.alsharafi.dev>
Reviewed-on: #35
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-30 08:47:11 +03:00
..
src refactor: Refactor in_chat_requests table 2024-07-30 08:47:11 +03:00
Cargo.toml refactor: Update public key column type from String to PublicKey 2024-07-24 01:19:34 +03:00
README.md chore: Initialize the project 2024-06-26 23:05:17 +03:00

Oxidetalis database entities

This crate contains the database entities for the Oxidetalis homeserver, using SeaORM.

Must to know

  • Don't import sea_orm things in another crates, import the entities and sea_orm things from this crate, from prelude module.

How to write a new entity

Check the SeaORM documentation for more information about how to write entities.

License

This crate is licensed under the MIT license.