mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-15 23:03:19 +03:00
20 lines
223 B
Bash
20 lines
223 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
PATH='/usr/bin:/bin'
|
||
|
|
||
|
create0='
|
||
|
CREATE TABLE TEST.test_table0 (
|
||
|
foo INTEGER NOT NULL,
|
||
|
bar VARCHAR(10),
|
||
|
baz date,
|
||
|
|
||
|
PRIMARY KEY(foo)
|
||
|
)
|
||
|
'
|
||
|
|
||
|
set -x
|
||
|
|
||
|
psql -c "CREATE SCHEMA TEST" testdb
|
||
|
psql -c "$create0" testdb
|
||
|
|