Created
December 6, 2015 20:47
-
-
Save AlexVKO/45aa33777171cd6371fd to your computer and use it in GitHub Desktop.
rails postress migration hstore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AddHstoreExtension < ActiveRecord::Migration | |
| def up | |
| execute 'CREATE EXTENSION hstore' | |
| end | |
| def down | |
| execute 'DROP EXTENSION hstore' | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment