Removing unused stuff.
This commit is contained in:
parent
4b1855974c
commit
1a2b9bbef4
|
@ -4,10 +4,8 @@ const linkRows = require("../db/linkedRows")
|
||||||
const { cloneDeep } = require("lodash/fp")
|
const { cloneDeep } = require("lodash/fp")
|
||||||
const { FieldTypes, AutoFieldSubTypes } = require("../constants")
|
const { FieldTypes, AutoFieldSubTypes } = require("../constants")
|
||||||
const CouchDB = require("../db")
|
const CouchDB = require("../db")
|
||||||
const { ViewNames } = require("../db/utils")
|
|
||||||
|
|
||||||
const BASE_AUTO_ID = 1
|
const BASE_AUTO_ID = 1
|
||||||
const USER_TABLE_ID = ViewNames.USERS
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A map of how we convert various properties in rows to each other based on the row type.
|
* A map of how we convert various properties in rows to each other based on the row type.
|
||||||
|
@ -67,10 +65,6 @@ const TYPE_TRANSFORM_MAP = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAutoRelationshipName(table, columnName) {
|
|
||||||
return `${table.name}-${columnName}`
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This will update any auto columns that are found on the row/table with the correct information based on
|
* This will update any auto columns that are found on the row/table with the correct information based on
|
||||||
* time now and the current logged in user making the request.
|
* time now and the current logged in user making the request.
|
||||||
|
|
Loading…
Reference in New Issue