Issue #23225:create table
authorgaryhgohoos <gary@xtuple.com>
Fri, 1 Aug 2014 15:11:21 +0000 (11:11 -0400)
committergaryhgohoos <gary@xtuple.com>
Fri, 1 Aug 2014 15:11:21 +0000 (11:11 -0400)
foundation-database/public/tables/bankrecimport.sql [new file with mode: 0644]

diff --git a/foundation-database/public/tables/bankrecimport.sql b/foundation-database/public/tables/bankrecimport.sql
new file mode 100644 (file)
index 0000000..9fee6f5
--- /dev/null
@@ -0,0 +1,9 @@
+select xt.create_table('bankrecimport', 'public');
+select xt.add_column('bankrecimport','bankrecimport_id', 'SERIAL', 'PRIMARY KEY', 'public');
+select xt.add_column('bankrecimport','bankrecimport_reference', 'TEXT', 'NOT NULL' 'public');
+select xt.add_column('bankrecimport','bankrecimport_descrip', 'TEXT', 'NOT NULL' 'public');
+select xt.add_column('bankrecimport','bankrecimport_comment', 'TEXT', 'NOT NULL' 'public');
+select xt.add_column('bankrecimport','bankrecimport_debit_amount', 'NUMERIC', 'NOT NULL', 'public');
+select xt.add_column('bankrecimport','bankrecimport_credit_amount', 'NUMERIC', 'NOT NULL', 'public');
+select xt.add_column('bankrecimport','bankrecimport_effdate', 'DATE', 'NOT NULL', 'public');
+select xt.add_column('bankrecimport','bankrecimport_curr_rate', 'NUMERIC', 'NOT NULL', 'public');