多维表格
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 ea76f12966 chore: introduce unit test 1 year ago
..
ReadMe.md chore: introduce unit test 1 year ago
config.json chore: introduce unit test 1 year ago
exportSchema.js chore: introduce unit test 1 year ago
importSchema.js chore: introduce unit test 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 project 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 project 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