hunk.code_window: const fetch = require('node-fetch');
   const throwError = require('../error');
   const {log, spinnerStart, spinnerStop} = require('../log');
   const shouldIgnoreTable = table => {
     return (table.columns.find(c => c.name === '__value'));
   };
   const getDupeCandidates = tables => {
     const dupes = [];
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:   return (table.columns.find(c => c.name === '_value'));
  
hunk.file_path: community/tools/firebase2graphql/src/import/normalize.js
hunk.type: replace
file: package database
  
  type Setting struct {
  	name         string
  	defaultValue string
  }
  
  var Settings = []Setting{
  	{
  		name:         "migration_mode",
  		defaultValue: "true",
  	},
  }
  
  type SettingsDriver interface {
  	// Get Current setting from database
  	GetSetting(name string) (value string, err error)
  
  	// UpdateSetting updates a setting in database.
  	UpdateSetting(name string, value string) error
  }
  
  func (s *Setting) GetName() string {
  	return s.name
  }
  
  func (s *Setting) GetDefaultValue() string {
  	return s.defaultValue
  }
  