10 lines
189 B
Ruby
10 lines
189 B
Ruby
|
class SetupHstore < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
execute "CREATE EXTENSION IF NOT EXISTS hstore"
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
execute "DROP EXTENSION IF EXISTS hstore"
|
||
|
end
|
||
|
end
|