New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how insert data bank_method transactions table ? #105
Comments
@khanhnam99 I would not advise you to add your fields and overload models. In the future, you will not be able to easily update the library. I recommend working with a json $user->deposit(100, ['bank_method' => 'VietComBank']); By json field you can filter and work with it. |
thanks |
@khanhnam99 Edits are also needed. |
@khanhnam99 Still have more questions? |
So there are no questions. I close the issue. |
In transactions(
payable_type,
payable_id,
wallet_id,
type,
amount,
confirmed,
meta,
uuid,
created_at,
updated_at
) table
Then i added a column name bank_method
$user = User::first();
$user->balance; // int(0)
$user->deposit(10);
$bank_method ='VietComBank';
Now , i want insert bank_method into $user->deposit(10,$bank_method);
how i can do that ?
The text was updated successfully, but these errors were encountered: