Mercurial > hg > soundsoftware-site
annotate .svn/pristine/e7/e789b49c2d19dabe0b26f8b8d9732b786d1d4c29.svn-base @ 1563:171c31a5cca4 live
A script to flatten an Hg repo with subrepos into one without. Not currently used.
author | Chris Cannam |
---|---|
date | Wed, 20 Jan 2016 15:03:23 +0000 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 class AddRepositoriesPathEncoding < ActiveRecord::Migration |
Chris@909 | 2 def self.up |
Chris@909 | 3 add_column :repositories, :path_encoding, :string, :limit => 64, :default => nil |
Chris@909 | 4 end |
Chris@909 | 5 |
Chris@909 | 6 def self.down |
Chris@909 | 7 remove_column :repositories, :path_encoding |
Chris@909 | 8 end |
Chris@909 | 9 end |