mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +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 Knex from 'knex';
|
||||
|
||||
export const actions = [
|
||||
'manage',
|
||||
@@ -96,7 +96,8 @@ export enum AbilitySubject {
|
||||
Preferences = 'Preferences',
|
||||
CreditNote = 'CreditNode',
|
||||
VendorCredit = 'VendorCredit',
|
||||
Project = 'Project'
|
||||
Project = 'Project',
|
||||
TaxRate = 'TaxRate'
|
||||
}
|
||||
|
||||
export interface IRoleCreatedPayload {
|
||||
|
||||
Reference in New Issue
Block a user