folder-structure #9
9
.idea/dataSources.xml
generated
9
.idea/dataSources.xml
generated
@ -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
13
sql/create_db.sql
Normal 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
1
sql/delete_db.sql
Normal file
@ -0,0 +1 @@
|
||||
DROP TABLE 'user';
|
||||
Loading…
x
Reference in New Issue
Block a user