Project

General

Profile

« Previous | Next » 

Revision 2977

main Makefile: Removed empty_db, because `make schemas/reinstall` has the same effect and is simpler

View differences:

bin/map
66 66
    commit = opts.env_flag('commit', False, env_names) and not test
67 67
        # never commit in test mode
68 68
    redo = opts.env_flag('redo', test, env_names) and not commit
69
        # never redo in commit mode (manually run `make empty_db` instead)
69
        # never redo in commit mode (run `make schemas/reinstall` instead)
70 70
    
71 71
    # Ranges
72 72
    start = util.cast(int, opts.get_env_var('start', 1, env_names)) # 1-based
Makefile
225 225
schemas/rotate-only: _always
226 226
	echo 'ALTER SCHEMA public RENAME TO "public.$(date)";'|$(psqlAsBien)
227 227

  
228
empty_db: _always schemas/vegbien_empty.sql
229
	@$(confirmRmPublicSchema)
230
	$(psqlAsBien) <schemas/vegbien_empty.sql
231

  
232 228
### py_functions
233 229

  
234 230
schemas/py_functions/install: schemas/py_functions.sql _always

Also available in: Unified diff