Merge branch 'master' of https://codefirst.iut.uca.fr/git/nathan.boileau/Scripted
commit
03946ae9f7
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/Scripted.iml" filepath="$PROJECT_DIR$/.idea/Scripted.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="7.4">
|
||||
<option name="suggestChangeDefaultLanguageLevel" value="false" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -1,31 +1,31 @@
|
||||
CREATE TABLE Admin{
|
||||
CREATE TABLE Admin(
|
||||
email varchar(50) PRIMARY KEY,
|
||||
pseudo varchar(50),
|
||||
mdp varchar(50)
|
||||
};
|
||||
);
|
||||
|
||||
CREATE TABLE Enigme{
|
||||
CREATE TABLE Enigme(
|
||||
idEnigme char(5) PRIMARY KEY,
|
||||
admin varchar(50) REFERENCES Admin(pseudo),
|
||||
admin varchar(50) REFERENCES Admin(email),
|
||||
enoncé varchar(250) NOT NULL,
|
||||
aide varchar(250),
|
||||
rappel varchar(250),
|
||||
solution varchar(250) NOT NULL,
|
||||
test varchar(250) NOT NULL,
|
||||
tempsDeResolution numeric CHECK (tempsDeResolution >0)
|
||||
};
|
||||
);
|
||||
|
||||
CREATE TABLE Joueur{
|
||||
CREATE TABLE Joueur(
|
||||
email varchar(50) PRIMARY KEY,
|
||||
enigmeEnCours varchar(50) REFERENCES Enigme(idEnigme),
|
||||
pseudo varchar(50),
|
||||
mdp varchar(50)
|
||||
};
|
||||
);
|
||||
|
||||
CREATE TABLE Game(
|
||||
idGame char(5) NOT NULL,
|
||||
joueur varchar(50) REFERENCES Joueur(pseudo),
|
||||
joueur varchar(50) REFERENCES Joueur(email),
|
||||
enigme char(5) REFERENCES Enigme(idEnigme),
|
||||
points numeric CHECK (points >0)
|
||||
points numeric CHECK (points >0),
|
||||
PRIMARY KEY(idGame, joueur, enigme)
|
||||
);
|
||||
);
|
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/php.iml" filepath="$PROJECT_DIR$/.idea/php.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="7">
|
||||
<option name="suggestChangeDefaultLanguageLevel" value="false" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
Loading…
Reference in new issue