Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More zonepoints #26

Closed

Conversation

xscreach
Copy link
Contributor

uint16 for zonepoint.position

@cloudkucooland
Copy link
Member

are we really drawing zones with more than 128 points?

you will also need to update

{"zone", `CREATE TABLE zone (ID tinyint(4) NOT NULL, opID char(40) NOT NULL, name varchar(64) NOT NULL DEFAULT 'zone', color varchar(10) NOT NULL DEFAULT 'green', PRIMARY KEY (ID,opID), KEY fk_operation_zone (opID), CONSTRAINT fk_operation_zone FOREIGN KEY (opID) REFERENCES operation (ID) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;`},

and add an upgrade for existing schema (same file, line 139)

@xscreach xscreach closed this Nov 19, 2022
@xscreach xscreach deleted the feature/more-zone-points branch November 19, 2022 17:07
@xscreach xscreach restored the feature/more-zone-points branch November 22, 2022 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants