#!/bin/bash set -e echo "生成新的迁移文件..." atlas migrate diff \ --env local \ echo "迁移文件生成完成!" ls -lh migrations/