Skip to content

Commit 2b0d066

Browse files
SeunMattmaibin
authored andcommitted
updated the example code with data.sql (eugenp#6749)
* added example code for BAEL-2083 * updated example code for BAEL-2083 * added example code for BAEL-2849 * updated the example code with data.sql
1 parent dcd2a14 commit 2b0d066

File tree

1 file changed

+13
-0
lines changed
  • persistence-modules/spring-boot-h2/spring-boot-h2-database/src/main/resources

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
DROP TABLE IF EXISTS billionaires;
2+
3+
CREATE TABLE billionaires (
4+
id INT AUTO_INCREMENT PRIMARY KEY,
5+
first_name VARCHAR(250) NOT NULL,
6+
last_name VARCHAR(250) NOT NULL,
7+
career VARCHAR(250) DEFAULT NULL
8+
);
9+
10+
INSERT INTO billionaires (first_name, last_name, career) VALUES
11+
('Aliko', 'Dangote', 'Billionaire Industrialist'),
12+
('Bill', 'Gates', 'Billionaire Tech Entrepreneur'),
13+
('Folrunsho', 'Alakija', 'Billionaire Oil Magnate');

0 commit comments

Comments
 (0)