From 7e2d693164b7dcfdc81e5eec2fe13eeef0edfbff Mon Sep 17 00:00:00 2001 From: thomashii Date: Sun, 1 May 2022 18:00:33 +0800 Subject: [PATCH] Added mysql orm boilerplate --- CHANGELOG.md | 4 ++++ lib/src/commands/init.dart | 12 ++++++++++-- pubspec.yaml | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b16b6b..ba43c42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 6.0.1 + +* Added `angel3-orm-mysql` template for ORM support for MariaDB and MySQL + ## 6.0.0 * Updated SDK to 2.16.x diff --git a/lib/src/commands/init.dart b/lib/src/commands/init.dart index 2c6b425..8bca097 100644 --- a/lib/src/commands/init.dart +++ b/lib/src/commands/init.dart @@ -290,12 +290,19 @@ const BoilerplateInfo graphQLBoilerplate = BoilerplateInfo( ); const BoilerplateInfo ormBoilerplate = BoilerplateInfo( - 'ORM', - 'A starter application with ORM support.', + 'ORM for PostgreSQL', + 'A starter application with ORM support for PostgreSQL.', '$repoLocation/boilerplates.git', ref: 'angel3-orm', ); +const BoilerplateInfo ormMySqlBoilerplate = BoilerplateInfo( + 'ORM for MariaDB', + 'A starter application with ORM support for MariaDB.', + '$repoLocation/boilerplates.git', + ref: 'angel3-orm-mysql', +); + const BoilerplateInfo basicBoilerplate = BoilerplateInfo( 'Basic', 'A basic starter application with minimal packages.', @@ -317,6 +324,7 @@ const BoilerplateInfo sharedOrmBoilerplate = BoilerplateInfo( const List boilerplates = [ basicBoilerplate, ormBoilerplate, + ormMySqlBoilerplate, graphQLBoilerplate, //sharedBoilerplate, //sharedOrmBoilerplate, diff --git a/pubspec.yaml b/pubspec.yaml index 314ce10..c28b905 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_cli -version: 6.0.0 +version: 6.0.1 description: Command line tools for the Angel3 framework, including scaffolding. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel3-cli