+require 'lib/migrate'
+
class SqlSessionStoreSetup < ActiveRecord::Migration
def self.up
create_table "sessions", :options => innodb_option do |t|
+require 'lib/migrate'
+
class UserEnhancements < ActiveRecord::Migration
def self.up
add_column "diary_entries", "latitude", :double
+require 'lib/migrate'
+
class AddRelations < ActiveRecord::Migration
def self.up
# a relation can have members much like a way can have nodes.
+require 'lib/migrate'
+
class DiaryComments < ActiveRecord::Migration
def self.up
create_table "diary_comments", myisam_table do |t|
+require 'lib/migrate'
+
class CreateAcls < ActiveRecord::Migration
def self.up
create_table "acls", myisam_table do |t|
+require 'lib/migrate'
+
class PopulateNodeTagsAndRemove < ActiveRecord::Migration
def self.up
have_nodes = select_value("SELECT count(*) FROM current_nodes").to_i != 0
+require 'lib/migrate'
+
class MoveToInnodb < ActiveRecord::Migration
@@conv_tables = ['nodes', 'ways', 'way_tags', 'way_nodes',
'current_way_tags', 'relation_members',
+require 'lib/migrate'
+
class OrderRelationMembers < ActiveRecord::Migration
def self.up
# add sequence column. rails won't let us define an ordering here,
+require 'lib/migrate'
+
class AddEndTimeToChangesets < ActiveRecord::Migration
def self.up
# swap the boolean closed-or-not for a time when the changeset will