阅读时间:1 分钟0 字数据库操作 Dux Lite 基于 Illuminate Database(Eloquent)。自动迁移 模型加 #[AutoMigrate]实现 migration() 定义字段seed() 可写入初始化数据bashphp dux db:sync连接获取 phpuse Core\App; $connection = App::db()->getConnection();