Revision 5819
Added by Aaron Marcuse-Kubitza about 12 years ago
input.Makefile | ||
---|---|---|
246 | 246 |
endef |
247 | 247 |
# table-scope src table's row_num col to allow joining it with other tables |
248 | 248 |
|
249 |
%/uninstall: _always |
|
250 |
echo 'DROP TABLE IF EXISTS "$(datasrc)"."$*" CASCADE;'|$(psqlAsBien) |
|
251 |
|
|
252 |
%/reinstall: _always %/uninstall %/install ; |
|
253 |
|
|
249 | 254 |
cleanup: _always $(tables:%=%/cleanup) ; |
250 | 255 |
|
251 | 256 |
# WARNING: This removes any index comments, due to a PostgreSQL bug. |
Also available in: Unified diff
input.Makefile: Staging tables installation: Added %/uninstall, %/reinstall to allow reinstalling individual tables