Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DAAExample
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Imanol Cobián Martínez
DAAExample
Commits
1a0458ce
Commit
1a0458ce
authored
Mar 07, 2019
by
Imanol Cobián Martínez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Elimina restriccion de la ClaveForanea
parent
9d343055
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-with-inserts.sql
db/mysql-with-inserts.sql
+1
-1
mysql.sql
db/mysql.sql
+1
-1
hsqldb.sql
src/test/resources/db/hsqldb.sql
+1
-1
No files found.
db/mysql-with-inserts.sql
View file @
1a0458ce
...
...
@@ -19,7 +19,7 @@ CREATE TABLE `daaexample`.`pets` (
`name`
varchar
(
50
)
NOT
NULL
,
`peopleID`
int
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
CONSTRAINT
FK_PeoplePet
FOREIGN
KEY
(
`peopleID`
)
REFERENCES
people
(
id
)
FOREIGN
KEY
(
`peopleID`
)
REFERENCES
people
(
id
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
GRANT
ALL
ON
`daaexample`
.
*
TO
'daa'
@
'localhost'
IDENTIFIED
BY
'daa'
;
...
...
db/mysql.sql
View file @
1a0458ce
...
...
@@ -19,7 +19,7 @@ CREATE TABLE `daaexample`.`pets` (
`name`
varchar
(
50
)
NOT
NULL
,
`peopleID`
int
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
CONSTRAINT
FK_PeoplePet
FOREIGN
KEY
(
`peopleID`
)
REFERENCES
people
(
id
)
FOREIGN
KEY
(
`peopleID`
)
REFERENCES
people
(
id
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
GRANT
ALL
ON
`daaexample`
.
*
TO
'daa'
@
'localhost'
IDENTIFIED
BY
'daa'
;
src/test/resources/db/hsqldb.sql
View file @
1a0458ce
...
...
@@ -17,5 +17,5 @@ CREATE TABLE pets (
name
varchar
(
50
)
NOT
NULL
,
peopleID
int
NOT
NULL
,
PRIMARY
KEY
(
id
),
CONSTRAINT
FK_PeoplePet
FOREIGN
KEY
(
peopleID
)
REFERENCES
people
(
id
)
FOREIGN
KEY
(
peopleID
)
REFERENCES
people
(
id
)
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment