Files
spring-boot-rest/persistence-modules/spring-boot-persistence-h2/src/main/resources/data.sql
Seun Matt b798326b29 improvement BAEL-2897 (#6795)
* 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

* improvement BAEL-2897

* updated the persistence module

* updated readme
2019-04-24 08:05:24 -07:00

13 lines
431 B
SQL

DROP TABLE IF EXISTS billionaires;
CREATE TABLE billionaires (
id INT AUTO_INCREMENT PRIMARY KEY,
first_name VARCHAR(250) NOT NULL,
last_name VARCHAR(250) NOT NULL,
career VARCHAR(250) DEFAULT NULL
);
INSERT INTO billionaires (first_name, last_name, career) VALUES
('Aliko', 'Dangote', 'Billionaire Industrialist'),
('Bill', 'Gates', 'Billionaire Tech Entrepreneur'),
('Folrunsho', 'Alakija', 'Billionaire Oil Magnate');