File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## [ 0.0.6] - 2019-11-18
2
+ ### Changed
3
+ - Set db field length of url hash to 128 characters
4
+
1
5
## [ 0.0.5] - 2019-11-14
2
6
### Added
3
7
- Add new exception for mutation testing
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class Uri
33
33
private $ shortCode ;
34
34
35
35
/**
36
- * @ORM\Column(type="string", length=32 )
36
+ * @ORM\Column(type="string", length=128 )
37
37
*/
38
38
private $ UrlHash ;
39
39
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function up(Schema $schema): void
30
30
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
31
31
original_url CLOB NOT NULL,
32
32
short_code VARCHAR(8) NOT NULL,
33
- url_hash VARCHAR(32 ) NOT NULL) '
33
+ url_hash VARCHAR(128 ) NOT NULL) '
34
34
);
35
35
$ this ->addSql ('CREATE INDEX create_idx ON uri (url_hash) ' );
36
36
$ this ->addSql ('CREATE INDEX read_idx ON uri (short_code) ' );
You can’t perform that action at this time.
0 commit comments