Change likes to stars #5

Open
opened 2020-05-14 21:24:50 +03:00 by Ghost · 0 comments
Ghost commented 2020-05-14 21:24:50 +03:00 (Migrated from codeberg.org)
  • Remove likes completely
  • Add stars table
create table stars (
    id int UNSIGNED primary key AUTO_INCREMENT,
    user_id int UNSIGNED not null,
    recipe_id int UNSIGNED not null,
    value tinyint UNSIGNED not null,
    created_at datetime not null,
    updated_at datetime not null
);
  • Add UI for stars, something like stars on nalog.nl site
  • User can change his vote by clicking on these stars on recipe
  • 1, 2 stars must be red 3 - orange and 4, 5 stars - green
- Remove likes completely - Add stars table ```sql create table stars ( id int UNSIGNED primary key AUTO_INCREMENT, user_id int UNSIGNED not null, recipe_id int UNSIGNED not null, value tinyint UNSIGNED not null, created_at datetime not null, updated_at datetime not null ); ``` - Add UI for stars, something like stars on nalog.nl site - User can change his vote by clicking on these stars on recipe - 1, 2 stars must be red 3 - orange and 4, 5 stars - green
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
archive/reciper#5
No description provided.