code_notebook_sql_cell_migratable

Column Type
code_notebook_cell_id VARCHAR
notebook_kernel_id VARCHAR
notebook_name TEXT
cell_name TEXT
interpretable_code TEXT
interpretable_code_hash TEXT
description TEXT
cell_governance TEXT
arguments TEXT
activity_log TEXT
version_timestamp
is_idempotent

SQL DDL

CREATE VIEW "code_notebook_sql_cell_migratable" AS
    -- code provenance: `RssdInitSqlNotebook.notebookBusinessLogicViews` (file:///home/baasit/www.surveilr.com/lib/std/lifecycle.sql.ts)
    -- All cells that are candidates for migration (latest only)
    SELECT c.*,
           CASE WHEN c.cell_name LIKE '%_once_%' THEN FALSE ELSE TRUE END AS is_idempotent
      FROM code_notebook_cell_latest c
    WHERE c.notebook_name = 'ConstructionSqlNotebook'
    ORDER BY c.cell_name