# yuweiguocn/GreenDaoUpgradeHelper

To solve database upgrade of greenDao and just need one line code

Repository: https://github.com/yuweiguocn/GreenDaoUpgradeHelper
Canonical: https://ross.abutalabs.com/products/greendaoupgradehelper
Language: Java
License Family: other
Last push: 2019-05-25T07:19:23+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3894, "days_push": 2657, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1529, forks 294 (observed 2026-08-28T04:04:58.698293+00:00)

## What it is
A small Android library that simplifies greenDAO database schema upgrades to a single migrate() call, preserving data by recreating tables. It extends DaoMaster.OpenHelper and handles dropping and recreating all DAO tables during onUpgrade.

## Use cases
- upgrade greendao database schema without losing data
- migrate android sqlite database to new version
- handle greendao onUpgrade with one line of code
- recreate greendao tables during app database migration
- avoid writing manual database migration logic in android

## When to choose
- you use greenDAO and need simple schema upgrades that preserve data
- you want to avoid hand-writing ALTER TABLE migration logic
- your app's database schema changes between app versions

## When to avoid
- you use Room, ORMLite, or another ORM instead of greenDAO
- you need fine-grained column-level data migration rather than table recreation
- you need a library with an explicit license or active maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: database, orm
- domain: databases, mobile-development, android-tools
- platform: jvm
- tags: greendao, database-upgrade, schema-migration, android, migration

## Member repositories
- yuweiguocn/GreenDaoUpgradeHelper (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.698293+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:29.320433+00:00, confidence not recorded.
  - readme: https://github.com/yuweiguocn/GreenDaoUpgradeHelper (fetched 2026-08-28T04:04:58.698293+00:00, sha 848e304dc17d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
