多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Pranav C e790abdbaf refactor: rename project and base 1 year ago
..
ReadMe.md refactor: rename project and base 1 year ago
config.json refactor: schema export sans datatype information 2 years ago
exportSchema.js refactor: rename project and base 1 year ago
importSchema.js refactor: rename project and base 1 year ago

ReadMe.md

config.json

{ "srcProject": "sample", "dstProject": "sample-copy", "baseURL": "http://localhost:8080", "xc-auth": "Copy Auth Token" }

  • baseURL & xc-auth are common configurations for both import & export

Export

  • srcProject: specify source base name to be exported.
  • Export JSON file will be created as srcProject.json
  • execute cd packages/nocodb/tests/export-import node exportSchema.js

Import

  • srcProject: specify JSON file name to be imported (sans .JSON suffix)
  • dstProject: new base name to be imported as
  • Data will also be imported if srcProject exists in NocoDB. Note that, data import isn't via exported JSON
  • execute cd packages/nocodb/tests/export-import node importSchema.js