Project

General

Profile

« Previous | Next » 

Revision 10779

added lib/runscripts/schema.pg.sql.run and use it in inputs/.TNRS/schema.sql.run

View differences:

inputs/.TNRS/schema.sql.run
1 1
#!/bin/bash -e
2
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/import.run
3
.rel ../../lib/runscripts/in_datasrc_dir.run
4

  
5
# syncs schema.sql with the DB
6

  
7
if self_not_included; then
8

  
9
export_() # usage: rm=1 .../schema.sql.run export_
10
{
11
	echo_func; set_make_vars; deferred_check_target_exists
12
	struct=1 create_schema= to_top_file pg_dump_local
13
}
14

  
15
fi
2
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/schema.pg.sql.run
lib/runscripts/schema.pg.sql.run
1
#!/bin/bash -e
2
. "$(dirname "${BASH_SOURCE[0]}")"/import.run
3
.rel in_datasrc_dir.run
4

  
5
# syncs a schema-only SQL script with the DB
6

  
7
if self_not_included; then
8

  
9
export_() # usage: rm=1 .../schema.pg.sql.run export_
10
{
11
	echo_func; set_make_vars; deferred_check_target_exists
12
	struct=1 create_schema= to_top_file pg_dump_local
13
}
14

  
15
fi
0 16

  

Also available in: Unified diff