1
0
Fork 0
mirror of synced 2024-10-01 09:38:55 +13:00

Removing unused stuff.

This commit is contained in:
mike12345567 2021-02-15 18:41:26 +00:00
parent 4b1855974c
commit 1a2b9bbef4

View file

@ -4,10 +4,8 @@ const linkRows = require("../db/linkedRows")
const { cloneDeep } = require("lodash/fp")
const { FieldTypes, AutoFieldSubTypes } = require("../constants")
const CouchDB = require("../db")
const { ViewNames } = require("../db/utils")
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.
@ -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
* time now and the current logged in user making the request.