Merge remote-tracking branch 'origin/5.3.x' into 6.0.x

This commit is contained in:
William Cheng
2021-07-27 11:52:19 +08:00
1011 changed files with 34058 additions and 5848 deletions

View File

@@ -11,6 +11,7 @@ Model/CatAllOf.sql
Model/Category.sql
Model/ClassModel.sql
Model/Client.sql
Model/DeprecatedObject.sql
Model/Dog.sql
Model/DogAllOf.sql
Model/EnumArrays.sql
@@ -29,6 +30,7 @@ Model/MixedPropertiesAndAdditionalPropertiesClass.sql
Model/Name.sql
Model/NullableClass.sql
Model/NumberOnly.sql
Model/ObjectWithDeprecatedFields.sql
Model/Order.sql
Model/OuterComposite.sql
Model/OuterEnum.sql

View File

@@ -0,0 +1,26 @@
--
-- OpenAPI Petstore.
-- Prepared SQL queries for 'DeprecatedObject' definition.
--
--
-- SELECT template for table `DeprecatedObject`
--
SELECT `name` FROM `DeprecatedObject` WHERE 1;
--
-- INSERT template for table `DeprecatedObject`
--
INSERT INTO `DeprecatedObject`(`name`) VALUES (?);
--
-- UPDATE template for table `DeprecatedObject`
--
UPDATE `DeprecatedObject` SET `name` = ? WHERE 1;
--
-- DELETE template for table `DeprecatedObject`
--
DELETE FROM `DeprecatedObject` WHERE 0;

View File

@@ -0,0 +1,26 @@
--
-- OpenAPI Petstore.
-- Prepared SQL queries for 'ObjectWithDeprecatedFields' definition.
--
--
-- SELECT template for table `ObjectWithDeprecatedFields`
--
SELECT `uuid`, `id`, `deprecatedRef`, `bars` FROM `ObjectWithDeprecatedFields` WHERE 1;
--
-- INSERT template for table `ObjectWithDeprecatedFields`
--
INSERT INTO `ObjectWithDeprecatedFields`(`uuid`, `id`, `deprecatedRef`, `bars`) VALUES (?, ?, ?, ?);
--
-- UPDATE template for table `ObjectWithDeprecatedFields`
--
UPDATE `ObjectWithDeprecatedFields` SET `uuid` = ?, `id` = ?, `deprecatedRef` = ?, `bars` = ? WHERE 1;
--
-- DELETE template for table `ObjectWithDeprecatedFields`
--
DELETE FROM `ObjectWithDeprecatedFields` WHERE 0;

View File

@@ -126,6 +126,14 @@ CREATE TABLE IF NOT EXISTS `Client` (
`client` TEXT DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `DeprecatedObject` generated from model 'DeprecatedObject'
--
CREATE TABLE IF NOT EXISTS `DeprecatedObject` (
`name` TEXT DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `Dog` generated from model 'Dog'
--
@@ -311,6 +319,17 @@ CREATE TABLE IF NOT EXISTS `NumberOnly` (
`JustNumber` DECIMAL(20, 9) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `ObjectWithDeprecatedFields` generated from model 'ObjectWithDeprecatedFields'
--
CREATE TABLE IF NOT EXISTS `ObjectWithDeprecatedFields` (
`uuid` TEXT DEFAULT NULL,
`id` DECIMAL(20, 9) DEFAULT NULL,
`deprecatedRef` TEXT DEFAULT NULL,
`bars` JSON DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `Order` generated from model 'Order'
--