From e51834c899ff20781295410961934eb06239385c Mon Sep 17 00:00:00 2001
From: Kamal Wickramanayake <kamal@inbox.lk>
Date: Sat, 16 May 2026 21:18:32 +0530
Subject: Added spring-boot sample applications

---
 spring-boot/03-bank-jdbc-rest/db-schema/postgressql-schema.sql | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 spring-boot/03-bank-jdbc-rest/db-schema/postgressql-schema.sql

(limited to 'spring-boot/03-bank-jdbc-rest/db-schema/postgressql-schema.sql')

diff --git a/spring-boot/03-bank-jdbc-rest/db-schema/postgressql-schema.sql b/spring-boot/03-bank-jdbc-rest/db-schema/postgressql-schema.sql
new file mode 100644
index 0000000..6ed17fa
--- /dev/null
+++ b/spring-boot/03-bank-jdbc-rest/db-schema/postgressql-schema.sql
@@ -0,0 +1,10 @@
+CREATE TABLE account (
+  account_number int(11) primary key NOT NULL,
+  balance float DEFAULT NULL
+);
+
+CREATE SEQUENCE account_account_number_seq;
+
+ALTER TABLE account
+    ALTER COLUMN account_number
+        SET DEFAULT NEXTVAL('account_account_number_seq');
\ No newline at end of file
-- 
cgit v1.2.3

