pending state is added

This commit is contained in:
병준 박 2022-08-28 08:45:58 +00:00
parent 0803ade97b
commit 417fca6558
4 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
CREATE TYPE member_bank_deposit_state AS ENUM ('application', 'complete');
CREATE TYPE member_bank_deposit_state AS ENUM ('application', 'pending', 'complete');
CREATE TABLE IF NOT EXISTS member_bank_deposits (

View File

@ -1,4 +1,4 @@
CREATE TYPE member_bank_withdraw_state AS ENUM ('application', 'complete');
CREATE TYPE member_bank_withdraw_state AS ENUM ('application', 'pending', 'complete');
CREATE TABLE IF NOT EXISTS member_bank_withdraws (

View File

@ -5,6 +5,7 @@
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)]
pub enum MemberBankDepositState {
Application = 1,
Pending,
Complete,
}

View File

@ -5,6 +5,7 @@
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)]
pub enum MemberBankWithdrawState {
Application = 1,
Pending,
Complete,
}