···2525 )
2626 .col(string(Group::Name).not_null())
2727 //Note: Color is a hex color with the leading #
2828- .col(string(Group::Color).not_null())
2828+ .col(integer(Group::Color).not_null())
2929 .col(
3030 string(Group::Priority)
3131 .not_null()
···1515/// and add additional functionality to it.
1616pub use migration::types::Priority as PriorityDTO;
17171818+/// Color type, exporting as DTO because I might
1919+/// want to newtype wrap this, might not have to, depending
2020+/// on how I end up using it in the application.
2121+pub use migration::types::Color as ColorDTO;
2222+1823mod entity;
19242025/// Everything related to groups.