Skip to content

Add UK compliance questions to entry form#466

Merged
mjmusante merged 5 commits into
mainfrom
entry-questions
Jun 26, 2026
Merged

Add UK compliance questions to entry form#466
mjmusante merged 5 commits into
mainfrom
entry-questions

Conversation

@mjmusante

Copy link
Copy Markdown
Collaborator

No description provided.

@mjmusante

mjmusante commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator Author

DB Update as follows:

CREATE TABLE questions (
    id INT AUTO_INCREMENT PRIMARY KEY,
    question_text VARCHAR(255) NOT NULL,
    disabled BOOLEAN DEFAULT TRUE
);

CREATE TABLE entry_answers (
    entry_id int(10) unsigned,
    question_id INT,
    answer VARCHAR(255),
    PRIMARY KEY (entry_id, question_id),
    FOREIGN KEY (entry_id) REFERENCES entry(id) ON DELETE CASCADE,
    FOREIGN KEY (question_id) REFERENCES questions(id)
);

@mjmusante mjmusante merged commit 268d619 into main Jun 26, 2026
3 checks passed
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 61.939% (-0.04%) from 61.979% — entry-questions into main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants