Skip to content

Commit 04e3d07

Browse files
committed
Composer update.
1 parent 96a9d69 commit 04e3d07

File tree

4 files changed

+89
-58
lines changed

4 files changed

+89
-58
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.idea
2+
bin/phpunit
3+
composer.lock
4+
vendor/

composer.json

100644100755
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
2-
"require": {
2+
"require-dev": {
3+
"phpunit/phpunit": "3.*"
4+
},
5+
"require": {
36
"setbased/php-affirm": "*"
47
}
58
}

composer.lock

Lines changed: 0 additions & 57 deletions
This file was deleted.

test/php-erd-concepts_create.ddl

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
/*================================================================================*/
2+
/* DDL SCRIPT */
3+
/*================================================================================*/
4+
/* Title : */
5+
/* FileName : php-erd-concepts.ecm */
6+
/* Platform : MySQL 5 */
7+
/* Version : Concept */
8+
/* Date : vrijdag 27 februari 2015 */
9+
/*================================================================================*/
10+
/*================================================================================*/
11+
/* CREATE TABLES */
12+
/*================================================================================*/
13+
14+
CREATE TABLE `BAR1` (
15+
`c1` VARCHAR(40) NOT NULL,
16+
`c2` VARCHAR(40),
17+
`c3` VARCHAR(40),
18+
`c4` VARCHAR(40),
19+
`c5` VARCHAR(40),
20+
CONSTRAINT `PK_BAR1` PRIMARY KEY (`c1`)
21+
);
22+
23+
/*
24+
COMMENT ON TABLE `BAR1`
25+
This table is table BAR1.
26+
*/
27+
28+
/*
29+
COMMENT ON COLUMN `BAR1`.`c1`
30+
This column 1. Same name as in table FOO1.
31+
*/
32+
33+
/*
34+
COMMENT ON COLUMN `BAR1`.`c2`
35+
This column 2. Same name as in table FOO1.
36+
*/
37+
38+
CREATE TABLE `FOO1` (
39+
`c1` VARCHAR(40) NOT NULL,
40+
`c2` VARCHAR(40),
41+
`c3` VARCHAR(40),
42+
CONSTRAINT `PK_FOO1` PRIMARY KEY (`c1`)
43+
);
44+
45+
/*
46+
COMMENT ON TABLE `FOO1`
47+
This is table FOO1.
48+
*/
49+
50+
/*
51+
COMMENT ON COLUMN `FOO1`.`c1`
52+
Column 1.
53+
*/
54+
55+
/*
56+
COMMENT ON COLUMN `FOO1`.`c2`
57+
Column 2.
58+
*/
59+
60+
/*
61+
COMMENT ON COLUMN `FOO1`.`c3`
62+
Column 3.
63+
*/
64+
65+
/*================================================================================*/
66+
/* CREATE INDEXES */
67+
/*================================================================================*/
68+
69+
CREATE INDEX `IX_BAR11` ON `BAR1` (`c2`);
70+
71+
/*
72+
COMMENT ON INDEX `IX_BAR11`
73+
Indexes can have comments to.
74+
*/
75+
76+
CREATE INDEX `IX_BAR12` ON `BAR1` (`c3`, `c4`, `c5`);
77+
78+
/*
79+
COMMENT ON INDEX `IX_BAR12`
80+
This is a multi column index.
81+
*/

0 commit comments

Comments
 (0)