change table name due name conflict...

This commit is contained in:
dalbodeule 2024-06-06 20:46:08 +09:00
parent 9f8b4a6122
commit 9567193082
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)