-- +goose Up
-- create "users" table
CREATE TABLE "users" ("id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY, "name" character varying NOT NULL, "created_at" timestamptz NOT NULL, "updated_at" timestamptz NOT NULL, PRIMARY KEY ("id"));
-- create index "user_name" to table: "users"
CREATE INDEX "user_name" ON "users" ("name");

-- +goose Down
-- reverse: create index "user_name" to table: "users"
DROP INDEX "user_name";
-- reverse: create "users" table
DROP TABLE "users";
