test-project

This commit is contained in:
tusuii
2026-03-09 22:50:46 +05:30
parent 24dbab7cce
commit 86a1f0b15c
20 changed files with 1192 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: mysql-init-sql
namespace: react-mysql
data:
script.sql: |
-- Create the appdb database
CREATE DATABASE IF NOT EXISTS appdb;
-- Use the appdb database
USE appdb;
-- Create the apptb table
CREATE TABLE `appdb`.`apptb` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(45) NOT NULL,
PRIMARY KEY (`id`));