package migrationsimport ("context""database/sql""github.com/pressly/goose/v3")func init() {goose.AddMigrationContext(upAddTimestampIndexesGo, downAddTimestampIndexesGo)}func upAddTimestampIndexesGo(ctx context.Context, tx *sql.Tx) error {_, err := tx.ExecContext(ctx, `create index if not exists album_updated_aton album (updated_at);create index if not exists album_created_aton album (created_at);create index if not exists playlist_updated_aton playlist (updated_at);create index if not exists playlist_created_aton playlist (created_at);create index if not exists media_file_created_aton media_file (created_at);create index if not exists media_file_updated_aton media_file (updated_at);`)return err}func downAddTimestampIndexesGo(_ context.Context, _ *sql.Tx) error {return nil}