mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
fix: change rate column to decimal of item entries table
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
exports.up = function (knex) {
|
||||||
|
return knex.schema.alterTable('items_entries', (table) => {
|
||||||
|
table.decimal('rate', 15, 5).alter();
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
exports.down = function (knex) {
|
||||||
|
return knex.table('items_entries', (table) => {});
|
||||||
|
};
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
|
import { Knex } from 'knex';
|
||||||
import { Ability, RawRuleOf, ForcedSubject } from '@casl/ability';
|
import { Ability, RawRuleOf, ForcedSubject } from '@casl/ability';
|
||||||
import Knex from 'knex';
|
|
||||||
|
|
||||||
export const actions = [
|
export const actions = [
|
||||||
'manage',
|
'manage',
|
||||||
@@ -96,7 +96,8 @@ export enum AbilitySubject {
|
|||||||
Preferences = 'Preferences',
|
Preferences = 'Preferences',
|
||||||
CreditNote = 'CreditNode',
|
CreditNote = 'CreditNode',
|
||||||
VendorCredit = 'VendorCredit',
|
VendorCredit = 'VendorCredit',
|
||||||
Project = 'Project'
|
Project = 'Project',
|
||||||
|
TaxRate = 'TaxRate'
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IRoleCreatedPayload {
|
export interface IRoleCreatedPayload {
|
||||||
|
|||||||
Reference in New Issue
Block a user