[no_ci] Add SQL table for user image

pull/17/head
luevard 11 months ago
parent e291e0064b
commit 6de6f78fe2

@ -125,6 +125,16 @@ class PostgresDataSource : AllInDataSource() {
)
""".trimIndent()
)
database.execute(
"""
CREATE TABLE IF NOT EXISTS public.userimage
(
user_id VARCHAR(255) PRIMARY KEY,
image bytea
)
""".trimIndent()
)
}
override val userDataSource: UserDataSource by lazy { PostgresUserDataSource(database) }

Loading…
Cancel
Save