crop_notifications
This table is used mark user selected crop for which they will be receiving notification.
Model
Field | Type | Nullable | Constraints |
---|---|---|---|
id | int4 | No | |
user_id | int4 | No | Foreign Key |
crop_id | int4 | No | Foreign Key |
status | boolean | No | |
created_at | timestamp | No | |
updated_at | timestamp | No |
Description of Fields
id
The primary key of the table
user_id
This is the user's unique identifier id
crop_id
This is the crops unique identifier for crop
status
This store user is receiving notification for this crop or not.
Last updated