mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-14 14:22:59 +03:00
20 lines
223 B
Bash
Executable File
20 lines
223 B
Bash
Executable File
#! /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
|
|
|