mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
10 lines
402 B
SQL
10 lines
402 B
SQL
CREATE TABLE `state_user_transactions` (
|
|
`id` int UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
`state_user_id` int UNSIGNED NOT NULL,
|
|
`transaction_id` int UNSIGNED NOT NULL,
|
|
`transaction_type_id` int UNSIGNED NOT NULL,
|
|
`balance` bigint(20) DEFAULT 0,
|
|
`balance_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|