pending state is added
This commit is contained in:
parent
0803ade97b
commit
417fca6558
|
@ -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 (
|
CREATE TABLE IF NOT EXISTS member_bank_deposits (
|
||||||
|
|
|
@ -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 (
|
CREATE TABLE IF NOT EXISTS member_bank_withdraws (
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)]
|
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)]
|
||||||
pub enum MemberBankDepositState {
|
pub enum MemberBankDepositState {
|
||||||
Application = 1,
|
Application = 1,
|
||||||
|
Pending,
|
||||||
Complete,
|
Complete,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)]
|
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)]
|
||||||
pub enum MemberBankWithdrawState {
|
pub enum MemberBankWithdrawState {
|
||||||
Application = 1,
|
Application = 1,
|
||||||
|
Pending,
|
||||||
Complete,
|
Complete,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user