repo.or.cz
/
phenome.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
capitalizing Quality term
[phenome.git]
/
db
/
00007
/
MetadataDelete.pm
blob
0b5911ddd5f18e2082f3155805d5e747632ab20c
1
package
MetadataDelete
;
2
use
Moose
;
3
extends
'CXGN::Metadata::Dbpatch'
;
4
5
sub
patch
{
6
7
shift
->
dbh
->
do
(
<<EOSQL);
8
9
SET search_path=metadata,phenome;
10
11
GRANT delete ON md_metadata TO web_usr;
12
DROP TABLE phenotype_term;
13
DROP TABLE phenome.phenotype;
14
EOSQL
15
16
print
"Done.
\n
"
;
17
return
1
;
18
}
19
20
1
;