feat: Exchange rates CRUD.

This commit is contained in:
Ahmed Bouhuolia
2020-04-19 22:09:23 +02:00
parent 8c8ec1534e
commit 4e0d3feebe
7 changed files with 386 additions and 1 deletions

View File

@@ -250,6 +250,14 @@ factory.define('currency', 'currencies', async () => {
};
});
factory.define('exchange_rate', 'exchange_rates', async () => {
return {
date: '2020-02-02',
currency_code: 'USD',
exchange_rate: faker.random.number(),
};
});
factory.define('budget', 'budgets', async () => {
return {
name: faker.lorem.slug(),