23 lines
629 B
Kotlin
23 lines
629 B
Kotlin
package com.massive
|
|
|
|
import android.content.Context
|
|
import android.database.sqlite.SQLiteDatabase
|
|
import android.database.sqlite.SQLiteOpenHelper
|
|
|
|
class DatabaseHelper(context: Context) :
|
|
SQLiteOpenHelper(context, DATABASE_NAME, null, DATABASE_VERSION) {
|
|
companion object {
|
|
private const val DATABASE_NAME = "massive.db"
|
|
private const val DATABASE_VERSION = 1
|
|
}
|
|
|
|
override fun onCreate(db: SQLiteDatabase) {
|
|
}
|
|
|
|
override fun onUpgrade(db: SQLiteDatabase, oldVersion: Int, newVersion: Int) {
|
|
}
|
|
|
|
override fun onDowngrade(db: SQLiteDatabase, oldVersion: Int, newVersion: Int) {
|
|
}
|
|
}
|