Skip to content

Commit

Permalink
Merge pull request #8 from shortintern2020-A-labyrinth/masahito
Browse files Browse the repository at this point in the history
ディレクトリ追加
  • Loading branch information
Highmt authored Aug 24, 2020
2 parents 260157d + d41dab3 commit 63500a2
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 2 deletions.
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.

0 comments on commit 63500a2

Please sign in to comment.