atlas migrate lint --dir file://migrations --dev-url URL --latest=2 > got1.txt
cmp got1.txt expected1.txt

-- migrations/1.sql --
CREATE TABLE users (id int);

/* Adding a not-null column without default to a table created in this file should not report. */
ALTER TABLE users ADD COLUMN c1 int NOT NULL;

-- migrations/2.sql --
ALTER TABLE users ADD COLUMN c2 int NOT NULL;

ALTER TABLE users ADD COLUMN c3 int NOT NULL DEFAULT 1;

-- expected1.txt --
2.sql: data dependent changes detected:

	L1: Adding a non-nullable "int" column "c2" will fail in case table "users" is not empty

