// Copyright (C) 2026 Jason M. Schwefel. All Rights Reserved.
package com.coldboreballisticsllc.scopedope.data.ammo.builtin

import androidx.room.Database
import androidx.room.RoomDatabase
import com.coldboreballisticsllc.scopedope.data.ammo.AmmoDao
import com.coldboreballisticsllc.scopedope.data.ammo.AmmoEntity

/**
 * Read-only pre-populated database shipped as an asset.
 * Updated only via app version upgrades — never written to at runtime.
 * Version must be incremented whenever ammunition.csv content changes.
 */
@Database(entities = [AmmoEntity::class], version = 4, exportSchema = true)
abstract class BuiltinAmmoDatabase : RoomDatabase() {
    abstract fun ammoDao(): AmmoDao
}
