Skip to content

Commit

Permalink
feat: update users table in Schema.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
coaguila committed Dec 19, 2024
1 parent a726dae commit c516ae7
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions app/src/main/java/com/android/periodpals/resources/Schema.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ import com.powersync.db.schema.Table
const val USERS = "users"

val users =
Table(
USERS,
listOf(
Column.text("user_id"),
Column.text("name"),
Column.text("email"),
Column.text("imageUrl"),
Column.text("description"),
Column.text("dob"),
Column.text("fcm_token"),
Column.text("locationGIS")))
Table(
USERS,
listOf(
Column.text("user_id"),
Column.text("name"),
Column.text("email"),
Column.text("imageUrl"),
Column.text("description"),
Column.text("dob"),
Column.integer("preferred_distance"),
Column.text("fcm_token")
)
)

val localSchema: Schema = Schema(listOf(users))

0 comments on commit c516ae7

Please sign in to comment.