Mariadb Docker image and init.sql

This commit is contained in:
Harshavardhan Musanalli
2026-02-10 21:09:13 +01:00
parent 75cb2657ea
commit ca62f2c2a3
3 changed files with 15 additions and 0 deletions

9
init.sql Normal file
View File

@@ -0,0 +1,9 @@
CREATE DATABASE IF NOT EXISTS devsecops_db;
USE devsecops_db;
CREATE TABLE IF NOT EXISTS device_registrations (
id INT AUTO_INCREMENT PRIMARY KEY,
user_key VARCHAR(255) NOT NULL,
device_type VARCHAR(50) NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);