Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

adding default value for money business in loans... wow, it sounds li…

…ke a banking software
  • Loading branch information...
commit 981b9e5120f6d6355e3b2b828ebc772585ea77a0 1 parent 6d0bd9c
bmejias authored September 26, 2011

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  database/pgsql_create_schema.sql
6  database/pgsql_create_schema.sql
@@ -55,9 +55,9 @@ CREATE TABLE loans
55 55
 	date_return	date,
56 56
 	date_in		date,
57 57
 	status		varchar(16)	NOT NULL,
58  
-	deposit		numeric(4, 2),
59  
-	fine		numeric(4, 2),
60  
-	paid		numeric(4, 2)
  58
+	deposit		numeric(4, 2)	DEFAULT 0,
  59
+	fine		numeric(4, 2)	DEFAULT 0,
  60
+	paid		numeric(4, 2)	DEFAULT 0
61 61
 );
62 62
 
63 63
 CREATE TABLE rules

0 notes on commit 981b9e5

Please sign in to comment.
Something went wrong with that request. Please try again.