!!!TEST nullable and not-null column
/// TODO: Allow scalars to be nullable.
/// When scalar is nullable, it should be impossible to set field as nullable.
scalar a = sql"TEXT";
table A {
a: a?;
b: a;
};
!!!RESULT
-- updated: nullable and not-null column --
CREATE DOMAIN a AS TEXT;
CREATE TABLE "as" (
a a
, b a NOT NULL
);
-- updated: cleanup schema changes --
DROP TABLE "as";
DROP DOMAIN a;