package migrationsimport ("context""database/sql""github.com/pressly/goose/v3")func init() {goose.AddMigrationContext(upAddDownloadToShare, downAddDownloadToShare)}func upAddDownloadToShare(ctx context.Context, tx *sql.Tx) error {_, err := tx.ExecContext(ctx, `alter table shareadd downloadable bool not null default false;`)return err}func downAddDownloadToShare(_ context.Context, _ *sql.Tx) error {return nil}