[ckan-changes] commit/ckan: dread: [migration]: #1454 forgot this migration script on previous commit: cset:138c5daf7765.
Bitbucket
commits-noreply at bitbucket.org
Wed Nov 9 20:00:19 UTC 2011
1 new commit in ckan:
https://bitbucket.org/okfn/ckan/changeset/2daf17782fda/
changeset: 2daf17782fda
user: dread
date: 2011-11-09 20:58:36
summary: [migration]: #1454 forgot this migration script on previous commit: cset:138c5daf7765.
affected #: 1 file
diff -r 0b7e2b0bed441c7eb7eef4697d1f0b78595a2f60 -r 2daf17782fda441485dd506c292b7f3f45811cf8 ckan/migration/versions/043_drop_postgres_search.py
--- /dev/null
+++ b/ckan/migration/versions/043_drop_postgres_search.py
@@ -0,0 +1,12 @@
+from sqlalchemy import *
+from migrate import *
+import migrate.changeset
+
+def upgrade(migrate_engine):
+ metadata = MetaData()
+ metadata.bind = migrate_engine
+ package_search_table = Table('package_search', metadata, autoload=True)
+ package_search_table.drop()
+## migrate_engine.execute('''
+##DROP TABLE package_search;
+##''')
Repository URL: https://bitbucket.org/okfn/ckan/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list