projects
/
dbsrgits/SQL-Translator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
934e1b3
)
Fix syntax for index dropping in sqlite producer
Jess Robinson [Fri, 1 Feb 2008 23:28:20 +0000 (23:28 +0000)]
lib/SQL/Translator/Producer/SQLite.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Producer/SQLite.pm
b/lib/SQL/Translator/Producer/SQLite.pm
index
a228653
..
a65043d
100644
(file)
--- a/
lib/SQL/Translator/Producer/SQLite.pm
+++ b/
lib/SQL/Translator/Producer/SQLite.pm
@@
-337,8
+337,8
@@
sub alter_drop_constraint { alter_drop_index(@_) }
sub alter_drop_index {
my ($constraint) = @_;
- return sprintf("DROP INDEX %s ON %s",
- $constraint->name, $constraint->table->name);
+ return sprintf("DROP INDEX %s",
+ $constraint->name);
}
sub batch_alter_table {