The kits already exist. The coordinator now needs to track whether each kit has been inspected.
These tables are already loaded at the start of this lesson.
kitsOne row represents one tool-kit record.
| Field / SQL type | Meaning | Rules |
|---|---|---|
kit_id · integer | Identifier of the kit record. | Primary key. Required; cannot be NULL. |
name · text | Kit display name. | Required; cannot be NULL. |
The following is the resulting shape. The starting dictionary above describes what is available before the change.
kitsOne row represents one tool-kit record.
| Field / SQL type | Meaning | Rules |
|---|---|---|
kit_id · integer | Identifier of the kit record. | Primary key. Required; cannot be NULL. |
name · text | Kit display name. | Required; cannot be NULL. |
inspected · boolean | Inspection flag: true means inspected; false means not inspected. | Required; cannot be NULL. Default false when omitted. |
Write your query in script.sql. Use Run to inspect it, then Submit.
ADD COLUMN changes the definition; the default supplies old rows with a value.