chore: reformat application codes

This commit is contained in:
이상진 2025-07-10 12:21:17 +09:00
parent 7c020072bd
commit c23218388a
4 changed files with 26 additions and 30 deletions

View File

@ -7,5 +7,5 @@ import org.springframework.boot.runApplication
class DemoApplication
fun main(args: Array<String>) {
runApplication<DemoApplication>(*args)
runApplication<DemoApplication>(*args)
}

View File

@ -1,10 +1,6 @@
package com.sangdol.demo
import jakarta.persistence.Entity
import jakarta.persistence.GeneratedValue
import jakarta.persistence.GenerationType
import jakarta.persistence.Id
import jakarta.persistence.Table
import jakarta.persistence.*
@Entity
@Table(name = "demo")

View File

@ -1,21 +1,21 @@
INSERT INTO demo(name, age) VALUES
('John Doe', 30),
('Jane Smith', 25),
('Alice Johnson', 28),
('Bob Brown', 35),
('Charlie White', 22),
('Diana Green', 40),
('Ethan Blue', 33),
('Fiona Black', 29),
('George Grey', 31),
('Hannah Yellow', 27),
('Ian Purple', 38),
('Julia Orange', 26),
('Kevin Pink', 34),
('Laura Cyan', 21),
('Mike Magenta', 37),
('Nina Teal', 24),
('Oscar Maroon', 32),
('Paula Silver', 39),
('Quentin Gold', 23),
('Rachel Bronze', 36);
INSERT INTO demo(name, age)
VALUES ('John Doe', 30),
('Jane Smith', 25),
('Alice Johnson', 28),
('Bob Brown', 35),
('Charlie White', 22),
('Diana Green', 40),
('Ethan Blue', 33),
('Fiona Black', 29),
('George Grey', 31),
('Hannah Yellow', 27),
('Ian Purple', 38),
('Julia Orange', 26),
('Kevin Pink', 34),
('Laura Cyan', 21),
('Mike Magenta', 37),
('Nina Teal', 24),
('Oscar Maroon', 32),
('Paula Silver', 39),
('Quentin Gold', 23),
('Rachel Bronze', 36);

View File

@ -2,8 +2,8 @@ DROP TABLE IF EXISTS demo;
CREATE TABLE demo
(
id BIGINT NOT NULL AUTO_INCREMENT,
name VARCHAR(50) NOT NULL,
age INTEGER NOT NULL,
id BIGINT NOT NULL AUTO_INCREMENT,
name VARCHAR(50) NOT NULL,
age INTEGER NOT NULL,
PRIMARY KEY (id)
);