Refactor experiment management and update data structures
- Renamed columns in the experimental run sheet CSV for clarity. - Updated the ExperimentForm component to include new fields for weight per repetition and additional parameters specific to Meyer Cracker experiments. - Enhanced the data entry logic to handle new experiment phases and machine types. - Refactored repetition scheduling logic to use scheduled_date instead of schedule_status for better clarity in status representation. - Improved the user interface for displaying experiment phases and their associated statuses. - Removed outdated seed data and updated database migration scripts to reflect the new schema changes.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
-- Add first_name and last_name fields to user_profiles table
|
||||
-- This migration adds name fields to store user's first and last names
|
||||
|
||||
-- Add first_name and last_name columns to user_profiles table
|
||||
ALTER TABLE public.user_profiles
|
||||
ADD COLUMN first_name TEXT,
|
||||
ADD COLUMN last_name TEXT;
|
||||
|
||||
-- Add comments for documentation
|
||||
COMMENT ON COLUMN public.user_profiles.first_name IS 'User first name';
|
||||
COMMENT ON COLUMN public.user_profiles.last_name IS 'User last name';
|
||||
|
||||
Reference in New Issue
Block a user