diff --git a/backend/sql/course.migration.sql b/backend/sql/course.migration.sql index 560bcf7..776e2f9 100644 --- a/backend/sql/course.migration.sql +++ b/backend/sql/course.migration.sql @@ -1,6 +1,6 @@ CREATE TABLE course ( course_id INTEGER PRIMARY KEY AUTO_INCREMENT, - course_name VARCHAR(50) NOT NULL, + course_name VARCHAR(75) NOT NULL, course_display_name VARCHAR(100) NOT NULL, course_days_amount INTEGER NOT NULL, course_has_custom_label BOOLEAN NOT NULL diff --git a/backend/sql/person.migration.sql b/backend/sql/person.migration.sql index f58a641..70732ed 100644 --- a/backend/sql/person.migration.sql +++ b/backend/sql/person.migration.sql @@ -2,7 +2,7 @@ CREATE TABLE person ( person_id INTEGER PRIMARY KEY AUTO_INCREMENT, - person_dni VARCHAR(8) NOT NULL, + person_dni VARCHAR(20) NOT NULL, person_names VARCHAR(100) NOT NULL, person_paternal_surname VARCHAR(50) NOT NULL, person_maternal_surname VARCHAR(50) NOT NULL diff --git a/frontend/src/certs/NewRegister/ManualRegistration.tsx b/frontend/src/certs/NewRegister/ManualRegistration.tsx index 469ba80..28a31cc 100644 --- a/frontend/src/certs/NewRegister/ManualRegistration.tsx +++ b/frontend/src/certs/NewRegister/ManualRegistration.tsx @@ -43,8 +43,6 @@ export function ManualRegistration(props: {personId: number | null, onAdd: (v: [ setCount((x) => x + 1); }; - console.log(`Person ID: ${props.personId}`); - return ( <>