mirror of
https://github.com/dalbodeule/sh0rt.kr-pdns.git
synced 2025-06-08 18:58: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
|
@Entity
|
||||||
@Table(name = "domains")
|
@Table(name = "api_domains")
|
||||||
data class Domain(
|
data class Domain(
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
|
@ -5,7 +5,7 @@ import java.util.*
|
|||||||
|
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "records")
|
@Table(name = "api_records")
|
||||||
data class Record(
|
data class Record(
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package space.mori.dnsapi.db
|
package space.mori.dnsapi.db
|
||||||
|
|
||||||
import jakarta.persistence.*
|
import jakarta.persistence.*
|
||||||
import org.springframework.security.core.context.SecurityContextHolder
|
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Table(name = "api_users")
|
||||||
data class User(
|
data class User(
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user