mirror of
https://github.com/dalbodeule/sh0rt.kr-pdns.git
synced 2025-06-08 10:48:20 +00:00
change table name due name conflict...
This commit is contained in:
parent
9f8b4a6122
commit
9567193082
@ -5,7 +5,7 @@ import java.util.*
|
||||
|
||||
|
||||
@Entity
|
||||
@Table(name = "domains")
|
||||
@Table(name = "api_domains")
|
||||
data class Domain(
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
|
@ -5,7 +5,7 @@ import java.util.*
|
||||
|
||||
|
||||
@Entity
|
||||
@Table(name = "records")
|
||||
@Table(name = "api_records")
|
||||
data class Record(
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
|
@ -1,9 +1,9 @@
|
||||
package space.mori.dnsapi.db
|
||||
|
||||
import jakarta.persistence.*
|
||||
import org.springframework.security.core.context.SecurityContextHolder
|
||||
|
||||
@Entity
|
||||
@Table(name = "api_users")
|
||||
data class User(
|
||||
@Id
|
||||
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user