migration

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrateCommand

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

func NewMigrateCommand

func NewMigrateCommand(migrator migration.Migrator) *MigrateCommand

func (*MigrateCommand) Description

func (r *MigrateCommand) Description() string

Description The console command description.

func (*MigrateCommand) Extend

func (r *MigrateCommand) Extend() command.Extend

Extend The console command extend.

func (*MigrateCommand) Handle

func (r *MigrateCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*MigrateCommand) Signature

func (r *MigrateCommand) Signature() string

Signature The name and signature of the console command.

type MigrateFreshCommand

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

func NewMigrateFreshCommand

func NewMigrateFreshCommand(artisan console.Artisan, migrator migration.Migrator) *MigrateFreshCommand

func (*MigrateFreshCommand) Description

func (r *MigrateFreshCommand) Description() string

Description The console command description.

func (*MigrateFreshCommand) Extend

func (r *MigrateFreshCommand) Extend() command.Extend

Extend The console command extend.

func (*MigrateFreshCommand) Handle

func (r *MigrateFreshCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*MigrateFreshCommand) Signature

func (r *MigrateFreshCommand) Signature() string

Signature The name and signature of the console command.

type MigrateMakeCommand

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

func NewMigrateMakeCommand

func NewMigrateMakeCommand(migrator migration.Migrator) *MigrateMakeCommand

func (*MigrateMakeCommand) Description

func (r *MigrateMakeCommand) Description() string

Description The console command description.

func (*MigrateMakeCommand) Extend

func (r *MigrateMakeCommand) Extend() command.Extend

Extend The console command extend.

func (*MigrateMakeCommand) Handle

func (r *MigrateMakeCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*MigrateMakeCommand) Signature

func (r *MigrateMakeCommand) Signature() string

Signature The name and signature of the console command.

type MigrateRefreshCommand

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

func NewMigrateRefreshCommand

func NewMigrateRefreshCommand(artisan console.Artisan) *MigrateRefreshCommand

func (*MigrateRefreshCommand) Description

func (r *MigrateRefreshCommand) Description() string

Description The console command description.

func (*MigrateRefreshCommand) Extend

func (r *MigrateRefreshCommand) Extend() command.Extend

Extend The console command extend.

func (*MigrateRefreshCommand) Handle

func (r *MigrateRefreshCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*MigrateRefreshCommand) Signature

func (r *MigrateRefreshCommand) Signature() string

Signature The name and signature of the console command.

type MigrateResetCommand

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

func NewMigrateResetCommand

func NewMigrateResetCommand(migrator migration.Migrator) *MigrateResetCommand

func (*MigrateResetCommand) Description

func (r *MigrateResetCommand) Description() string

Description The console command description.

func (*MigrateResetCommand) Extend

func (r *MigrateResetCommand) Extend() command.Extend

Extend The console command extend.

func (*MigrateResetCommand) Handle

func (r *MigrateResetCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*MigrateResetCommand) Signature

func (r *MigrateResetCommand) Signature() string

Signature The name and signature of the console command.

type MigrateRollbackCommand

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

func NewMigrateRollbackCommand

func NewMigrateRollbackCommand(migrator migration.Migrator) *MigrateRollbackCommand

func (*MigrateRollbackCommand) Description

func (r *MigrateRollbackCommand) Description() string

Description The console command description.

func (*MigrateRollbackCommand) Extend

Extend The console command extend.

func (*MigrateRollbackCommand) Handle

Handle Execute the console command.

func (*MigrateRollbackCommand) Signature

func (r *MigrateRollbackCommand) Signature() string

Signature The name and signature of the console command.

type MigrateStatusCommand

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

func NewMigrateStatusCommand

func NewMigrateStatusCommand(migrator migration.Migrator) *MigrateStatusCommand

func (*MigrateStatusCommand) Description

func (r *MigrateStatusCommand) Description() string

Description The console command description.

func (*MigrateStatusCommand) Extend

func (r *MigrateStatusCommand) Extend() command.Extend

Extend The console command extend.

func (*MigrateStatusCommand) Handle

func (r *MigrateStatusCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*MigrateStatusCommand) Signature

func (r *MigrateStatusCommand) Signature() string

Signature The name and signature of the console command.

Jump to

Keyboard shortcuts

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