Skip to content

Commit

Permalink
refactor(sql): add hasAccount column to groups
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Sep 21, 2024
1 parent 45185e8 commit 2bca065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sql/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ CREATE TABLE IF NOT EXISTS `ox_groups` (
`label` VARCHAR(50) NOT NULL,
`type` VARCHAR(50) NULL,
`colour` TINYINT UNSIGNED DEFAULT NULL,
`hasAccount` TINYINT(1) NOT NULL DEFAULT '0'
PRIMARY KEY (`name`)
);

Expand Down
1 change: 1 addition & 0 deletions types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export interface DbGroup {
accountRoles: Dict<OxAccountRole>;
type?: string;
colour?: number;
hasAccount: boolean;
}

export interface OxGroup extends DbGroup {
Expand Down

0 comments on commit 2bca065

Please sign in to comment.