Add exclude/blacklist tables flag

This commit is contained in:
Patrick O'brien 2016-08-16 20:38:31 +10:00
parent 79dfcf3ebf
commit 1e67965482
7 changed files with 46 additions and 24 deletions

View file

@ -2,10 +2,11 @@ package main
// Config for the running of the commands
type Config struct {
DriverName string `toml:"driver_name"`
PkgName string `toml:"pkg_name"`
OutFolder string `toml:"out_folder"`
TableNames []string `toml:"table_names"`
DriverName string `toml:"driver_name"`
PkgName string `toml:"pkg_name"`
OutFolder string `toml:"out_folder"`
ExcludeTables []string `toml:"exclude"`
TableNames []string
Postgres PostgresConfig `toml:"postgres"`
}