Add db support for PostgreSQL and Oracle.
This commit is contained in:
parent
1b58896a2e
commit
e051184c12
5 changed files with 49 additions and 2 deletions
21
test/db-mysql.sql
Normal file
21
test/db-mysql.sql
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
CREATE DATABASE helmaTest;
|
||||
USE helmaTest;
|
||||
|
||||
GRANT ALL ON helmaTest.* TO helma@localhost IDENTIFIED BY 'secret';
|
||||
|
||||
CREATE TABLE tb_person (
|
||||
person_id MEDIUMINT(10) NOT NULL,
|
||||
person_name TINYTEXT,
|
||||
person_height TINYINT unsigned,
|
||||
person_dateofbirth DATETIME,
|
||||
person_org_id MEDIUMINT(10) unsigned,
|
||||
PRIMARY KEY (person_id)
|
||||
);
|
||||
|
||||
CREATE TABLE tb_organisation (
|
||||
org_id MEDIUMINT(10) unsigned NOT NULL,
|
||||
org_name TINYTEXT,
|
||||
org_country TINYTEXT,
|
||||
PRIMARY KEY (org_id)
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue