tools

package
v1.38.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTables

func GetTables() []string

Types

type Converter

type Converter interface {
	Convert() error
}

func NewConverter

func NewConverter(sqliteDBPath, postgresDBURL string) Converter

type SQLiteSeeder

type SQLiteSeeder struct {
	// contains filtered or unexported fields
}

func NewSQLiteSeeder

func NewSQLiteSeeder(dbPath, seedFile string) *SQLiteSeeder

func (*SQLiteSeeder) Reset

func (s *SQLiteSeeder) Reset() error

func (*SQLiteSeeder) Seed

func (s *SQLiteSeeder) Seed() error

type Seeder

type Seeder interface {
	Reset() error
	Seed() error
}

type SqliteToPostgresConverter

type SqliteToPostgresConverter struct {
	// contains filtered or unexported fields
}

func (*SqliteToPostgresConverter) Convert

func (c *SqliteToPostgresConverter) Convert() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL