db fixes and patches: phase data tables and unified phase executions migrations, database entities doc
This commit is contained in:
@@ -70,6 +70,10 @@ CREATE TABLE IF NOT EXISTS public.shelling (
|
||||
scheduled_start_time TIMESTAMP WITH TIME ZONE NOT NULL,
|
||||
actual_start_time TIMESTAMP WITH TIME ZONE,
|
||||
actual_end_time TIMESTAMP WITH TIME ZONE,
|
||||
-- The space (in inches) between the sheller's rings
|
||||
ring_gap_inches NUMERIC(6,2) CHECK (ring_gap_inches > 0),
|
||||
-- The revolutions per minute for the sheller drum
|
||||
drum_rpm INTEGER CHECK (drum_rpm > 0),
|
||||
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
|
||||
updated_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
|
||||
created_by UUID NOT NULL REFERENCES public.user_profiles(id),
|
||||
|
||||
Reference in New Issue
Block a user