! atlas schema apply -f empty/ -u URL --auto-approve
stderr 'no schema files found'

atlas schema apply -f schema/ -u URL --auto-approve
cmpshow users expected.sql

-- schema/users.hcl --
table "users" {
  schema = schema.main
  column "id" {
    null = false
    type = int
  }
  column "status" {
    null = true
    type = text
    default = "hello"
  }
}
-- schema/schema.hcl --
schema "main" {
}
-- empty/hello.txt --
hello, world!
-- expected.sql --
CREATE TABLE `users` (`id` int NOT NULL, `status` text NULL DEFAULT 'hello')