mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add new tables and model/table empty files for them
This commit is contained in:
parent
a0919dc6c3
commit
ec1080c79f
7
skeema/gradido_login/crypto_keys.sql
Normal file
7
skeema/gradido_login/crypto_keys.sql
Normal file
@ -0,0 +1,7 @@
|
||||
CREATE TABLE `crypto_keys` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`private_key` VARBINARY(64) NOT NULL,
|
||||
`public_key` BINARY(32) NOT NULL,
|
||||
`crypto_key_type_id` INT NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
7
skeema/gradido_login/groups.sql
Normal file
7
skeema/gradido_login/groups.sql
Normal file
@ -0,0 +1,7 @@
|
||||
CREATE TABLE `groups` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`alias` VARCHAR(255) NOT NULL,
|
||||
`name` VARCHAR(255) NOT NULL,
|
||||
`description` TEXT NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
9
skeema/gradido_login/hedera_accounts.sql
Normal file
9
skeema/gradido_login/hedera_accounts.sql
Normal file
@ -0,0 +1,9 @@
|
||||
CREATE TABLE `hedera_accounts` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`user_id` INT UNSIGNED NOT NULL,
|
||||
`account_hedera_id` INT UNSIGNED NOT NULL,
|
||||
`account_key_id` INT UNSIGNED NOT NULL,
|
||||
`balance` BIGINT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`updated` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
7
skeema/gradido_login/hedera_ids.sql
Normal file
7
skeema/gradido_login/hedera_ids.sql
Normal file
@ -0,0 +1,7 @@
|
||||
CREATE TABLE `hedera_ids` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`shardNum` BIGINT NOT NULL DEFAULT '0',
|
||||
`realmNum` BIGINT NOT NULL DEFAULT '0',
|
||||
`num` BIGINT NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
13
skeema/gradido_login/hedera_topics.sql
Normal file
13
skeema/gradido_login/hedera_topics.sql
Normal file
@ -0,0 +1,13 @@
|
||||
CREATE TABLE `hedera_topics` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`topic_hedera_id` INT UNSIGNED NOT NULL,
|
||||
`auto_renew_account_hedera_id` INT UNSIGNED NULL,
|
||||
`auto_renew_period` INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`group_id` INT UNSIGNED NOT NULL,
|
||||
`admin_key_id` INT UNSIGNED NULL,
|
||||
`submit_key_id` INT UNSIGNED NULL,
|
||||
`current_timeout` BIGINT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`sequence_number` BIGINT UNSIGNED NULL DEFAULT '0',
|
||||
`updated` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
0
src/cpp/model/table/CryptoKeys.cpp
Normal file
0
src/cpp/model/table/CryptoKeys.cpp
Normal file
0
src/cpp/model/table/CryptoKeys.h
Normal file
0
src/cpp/model/table/CryptoKeys.h
Normal file
0
src/cpp/model/table/Groups.cpp
Normal file
0
src/cpp/model/table/Groups.cpp
Normal file
0
src/cpp/model/table/Groups.h
Normal file
0
src/cpp/model/table/Groups.h
Normal file
0
src/cpp/model/table/HederaAccounts.cpp
Normal file
0
src/cpp/model/table/HederaAccounts.cpp
Normal file
0
src/cpp/model/table/HederaAccounts.h
Normal file
0
src/cpp/model/table/HederaAccounts.h
Normal file
0
src/cpp/model/table/HederaIds.cpp
Normal file
0
src/cpp/model/table/HederaIds.cpp
Normal file
0
src/cpp/model/table/HederaIds.h
Normal file
0
src/cpp/model/table/HederaIds.h
Normal file
0
src/cpp/model/table/HederaTopics.cpp
Normal file
0
src/cpp/model/table/HederaTopics.cpp
Normal file
0
src/cpp/model/table/HederaTopics.h
Normal file
0
src/cpp/model/table/HederaTopics.h
Normal file
Loading…
x
Reference in New Issue
Block a user