folder-structure #9

Merged
vex merged 15 commits from folder-structure into develop 2024-11-18 17:18:38 +00:00
3 changed files with 18 additions and 5 deletions
Showing only changes of commit aa05ea70af - Show all commits

9
.idea/dataSources.xml generated
View File

@ -1,15 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="postgres@localhost" uuid="d6a94836-907f-44a6-862f-b98acfacd192">
<driver-ref>postgresql</driver-ref>
<data-source source="LOCAL" name="@localhost" uuid="56bf5b3c-7ea3-4d6d-b409-8711f3e52989">
<driver-ref>mysql.8</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
<jdbc-url>jdbc:postgresql://localhost:5432/postgres</jdbc-url>
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mysql://localhost:3306</jdbc-url>
<jdbc-additional-properties>
<property name="com.intellij.clouds.kubernetes.db.host.port" />
<property name="com.intellij.clouds.kubernetes.db.enabled" value="false" />
<property name="com.intellij.clouds.kubernetes.db.resource.type" value="Deployment" />
<property name="com.intellij.clouds.kubernetes.db.container.port" />
</jdbc-additional-properties>
<working-dir>$ProjectFileDir$</working-dir>

13
sql/create_db.sql Normal file
View File

@ -0,0 +1,13 @@
CREATE DATABASE 'webshop' CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;
CREATE TABLE 'user'
(
id int,
lower_name varchar(255),
name varchar(255),
full_name varchar(255),
email varchar(255),
passwd varchar(255),
passwd_hash_algo varchar(255),
is_admin bool
)

1
sql/delete_db.sql Normal file
View File

@ -0,0 +1 @@
DROP TABLE 'user';