knobit.org

Recognises a drop script used as a rollback

edu:Knobit

https://knobit.org/id/knobit/K-823

Also as Turtle · JSON-LD · RDF/XML · AI benchmark on Skilirium

Context functionsResult evaluation
Knobit creation methodsAI generated, human edited
Knobit typesSkill
LCG purposesAssessing the learner's knowledge or skill state
LCG purposesSelecting an assessment task or learning activity
action verbRecognises en
applies knowledgeExplains schema migration and rollback
assessment criterionFlags the deficient case and passes the acceptable one. Deficient: The runbook for a `fact_payment` change says "on failure, run `99_drop_tables.sql` and redeploy"; run against the warehouse it removes four years of payments and every dimension they pointed at Acceptable: `99_drop_tables.sql` used only to rebuild the CI scratch database. The migration's rollback is written with the migration, and the runbook names the restore point for every step that cannot be reversed en
assessment methodskill-tests task: Generated DDL review, Postgres and Snowflake (DDL review skills) en
conforms to profilehttps://oppekava.edu.ee/a/Knobitite_kirjeldamise_ja_seostamise_reeglid#LCG-KNOBIT-0.1
dcterms:identifierK-823
dcterms:licensehttps://creativecommons.org/licenses/by/4.0/
dcterms:sourceReview checklist 05-ddl, row 23; this skill (08-ddl.md); Humble & Farley 2010 en
expected resultThe data it would remove and the real rollback en
owl:sameAshttps://bitbucket.org/reffa/ontology/id/knobit/data-modelling/08-ddl/23
rdfs:labelRecognises a drop script used as a rollback en
schema:creativeWorkStatusaccepted
schema:isPartOfData modelling (DAMA-DMBOK2)
skos:altLabelDrop script used as a migration rollback (generated DDL) en
skos:definition`99_drop_tables.sql` in a release runbook's rollback step. It drops the tables in reverse dependency order, which is a rollback for a greenfield deploy into a scratch or CI database. Anywhere else it is a data-loss procedure with a reassuring filename. en
skos:prefLabelRecognises a drop script used as a rollback en
target objectdrop script in a runbook en

Used by

includes knobitGenerates DDL per target dialect and reviews it against model, engine, data and deployment
requires knobitGenerate and review DDL