Added mysql orm boilerplate

This commit is contained in:
thomashii 2022-05-01 18:00:33 +08:00
parent d33edd4bb5
commit 7e2d693164
3 changed files with 15 additions and 3 deletions

View file

@ -1,5 +1,9 @@
# Change Log # Change Log
## 6.0.1
* Added `angel3-orm-mysql` template for ORM support for MariaDB and MySQL
## 6.0.0 ## 6.0.0
* Updated SDK to 2.16.x * Updated SDK to 2.16.x

View file

@ -290,12 +290,19 @@ const BoilerplateInfo graphQLBoilerplate = BoilerplateInfo(
); );
const BoilerplateInfo ormBoilerplate = BoilerplateInfo( const BoilerplateInfo ormBoilerplate = BoilerplateInfo(
'ORM', 'ORM for PostgreSQL',
'A starter application with ORM support.', 'A starter application with ORM support for PostgreSQL.',
'$repoLocation/boilerplates.git', '$repoLocation/boilerplates.git',
ref: 'angel3-orm', 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( const BoilerplateInfo basicBoilerplate = BoilerplateInfo(
'Basic', 'Basic',
'A basic starter application with minimal packages.', 'A basic starter application with minimal packages.',
@ -317,6 +324,7 @@ const BoilerplateInfo sharedOrmBoilerplate = BoilerplateInfo(
const List<BoilerplateInfo> boilerplates = [ const List<BoilerplateInfo> boilerplates = [
basicBoilerplate, basicBoilerplate,
ormBoilerplate, ormBoilerplate,
ormMySqlBoilerplate,
graphQLBoilerplate, graphQLBoilerplate,
//sharedBoilerplate, //sharedBoilerplate,
//sharedOrmBoilerplate, //sharedOrmBoilerplate,

View file

@ -1,5 +1,5 @@
name: angel3_cli name: angel3_cli
version: 6.0.0 version: 6.0.1
description: Command line tools for the Angel3 framework, including scaffolding. description: Command line tools for the Angel3 framework, including scaffolding.
homepage: https://angel3-framework.web.app/ homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel3-cli repository: https://github.com/dukefirehawk/angel3-cli