refs #4551 Reduce code column from 255 to 50

This commit is contained in:
Juan Ferrer 2022-11-14 10:00:51 +01:00
parent 90beb312db
commit 8475a93e82
4 changed files with 186 additions and 178 deletions

View File

@ -256,7 +256,6 @@ start a small project.
## ToDo
* Undo changes when there is an error applying a version using "undo" files.
* Use a custom *Dockerfile* for local database container.
* Console logging via events.
* Lock version table row when pushing.
* Preserve all characteristics on pull: SQL mode, character set, algorithm...

357
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "myvc",
"version": "1.4.17",
"version": "1.4.18",
"author": "Verdnatura Levante SL",
"description": "MySQL Version Control",
"license": "GPL-3.0",

View File

@ -1,6 +1,6 @@
CREATE TABLE `version` (
`code` VARCHAR(255) NOT NULL,
`code` VARCHAR(50) NOT NULL,
`number` CHAR(11) NULL DEFAULT NULL,
`gitCommit` VARCHAR(255) NULL DEFAULT NULL,
`updated` DATETIME NOT NULL,
@ -11,7 +11,7 @@ ALTER TABLE `version`
ADD PRIMARY KEY (`code`);
CREATE TABLE `versionLog` (
`code` VARCHAR(255) NOT NULL,
`code` VARCHAR(50) NOT NULL,
`number` CHAR(11) NOT NULL,
`file` VARCHAR(255) NOT NULL,
`user` VARCHAR(255) NULL,