Implement column node and its features for foreign table. #640, #6373, #6674

This commit is contained in:
Yogesh Mahajan
2023-09-26 15:03:03 +05:30
committed by GitHub
parent 5736e173ea
commit 3cd547f879
57 changed files with 2037 additions and 159 deletions

View File

@@ -228,20 +228,6 @@ describe('ForeignTableColumnSchema', ()=>{
mount(getEditView(schemaObj, getInitData));
});
it('column editable', ()=>{
let state = {};
let editable = _.find(schemaObj.fields, (f)=>f.id=='attname').editable;
let status = editable(state);
expect(status).toBe(true);
});
it('typdefault editable', ()=>{
let state = {};
let editable = _.find(schemaObj.fields, (f)=>f.id=='typdefault').editable;
let status = editable(state);
expect(status).toBe(true);
});
it('typdefault_edit', ()=>{
let defaultSchemaObj = new ForeignTableSchema(
()=>new MockSchema(),