Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ディレクトリ追加 #8

Merged
merged 1 commit into from
Aug 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docker/pg/1-createTable.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ create table users (
age integer not null
);

create table emojicode (
keyword serial primary key,
emoji_code
);

insert into users(name, age) values
('ichigo.chocomint', 99),
('banana.chocomint', 98),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.demo;
package com.example.demo.controller;

import java.util.List;
import java.util.Map;
Expand All @@ -13,7 +13,7 @@
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(path = "/jdbc/sample")
@RequestMapping(path = "/")
public class ViewController {
private static final Logger LOG = LoggerFactory.getLogger(ViewController.class);

Expand Down
5 changes: 5 additions & 0 deletions src/main/java/com/example/demo/entity/View.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.example.demo.entity;

public class View {

}
5 changes: 5 additions & 0 deletions src/main/java/com/example/demo/repository/ViewRepository.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.example.demo.repository;

public class ViewRepository {

}
5 changes: 5 additions & 0 deletions src/main/java/com/example/demo/service/ViewService.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.example.demo.service;

public class ViewService {

}
Binary file not shown.
Binary file added target/classes/com/example/demo/entity/View.class
Binary file not shown.
Binary file not shown.
Binary file not shown.