migration

Mysql migration tool, source parameter string | connection string for sql server

Hi all, I always got failed to "fetching of list failed error" this is my connection string in asp.NET "Data Source=maywood\XSQLSERVER;Initial Catalog=maywood_test;Integrated Security=SSPI" What exactly i should input at Mysql migration tool for source parameter string FYI,'maywood' is my conputer name and i am using sql sevrer 2000. ...

Auto-comment model on migration in Rails?

I seem to recall that there was a plugin or Rake snippet that would put comments in various Model classes after running a migration? It's a chore to have to look at db/migrate/X when I want to see which fields a given model has. If not, I'll write one, of course. :) ...

Migrate old J++ project to Eclipse?

I've got my hands on an old Microsoft J++ project that uses some old Microsoft-specific things from the Microsoft Java Virtual Machine (now deprecated and unsupported). It uses additional things from the old Microsoft Java Development Kit, which I can't find anywhere on the web. It seems the best route forward is to migrate this project...

Plugin migrations for Redmine

I'm developing a plugin for Redmine. How do I create a migration for it? If I use script/generate plugin_migration, it'll be placed in /db/migrate folder, but I need it to be in my plugin's folder. ...

Rails migration question

I have 4 related migrations in my Rails app: First 3 migrations create one table each in the self.up and and drops them in their respective self.down methods. 4th migration runs a rake task that loads data to all three (in self.up). I am thinking what to put in self.down of this migration to delete the rows from the 3 tables? Am I doi...

Is it possible to use an external SQL file in a Rails migration?

I have to create a Rails migration which creates many triggers and stored procedures. Normally one would do that using the execute method, but because of the size of the statements, I'd rather keep them in an external file and reference it from the migration. How can I do that? Is it even possible? ...

Rails/Passenger/Apache: Simple one-off URL redirect to catch stale DNS after server move

One of my rails apps (using passenger and apache) is changing server hosts. I've got the app running on both servers (the new one in testing) and the DNS TTL to 5 minutes. I've been told (and experienced something like this myself) by a colleague that sometimes DNS resolvers slightly ignore the TTL and may have the old IP cached for some...

XML Schema Migration

I am working on a project where we need to save data in an XML format. The problem is, over time we expect the format / schema for our data to change. What we want to be able to do is to produce scripts to migrate our data across different schema versions. We distribute our product to thousands of customers so we need to be able to ru...

Migrating from CVS(NT) to Subversion: What's the equivalent of (virtual) modules?

We are currently considering to move away from CVSNT, very probably to Subversion (because we are already using trac, which is well-prepared for SVN-integration). As we have been making rather extensive use of some less common CVS(NT)-features a couple of questions arose very early on. This is but the first of them. Here's the scenario:...

Is there an efficient and free method of migrating a 6GB Interbase DB to MySql?

That's about it. I can always just dump it to csv and read it in, but I was hoping to avoid that. ...

Methods to migrate SQL Database(mdf) to SQL Compact Edition(sdf)

I have 4 SQL Server 2005 db's that I want to move to SQL CE. I know I cannot keep the SProcs,Views, and Functions(Differences Between SQL Server Compact and SQL Server) but I would like to keep everything else. I have tried this app, SQL Server to SQL Server Compact Edition Database Copy but it errors out on me. I have the source and ...

Strategies for migrating TFS2005 to Subversion

We are on TFS2005 and we are definitely not using all of it's capabilities. All we use it for right now is it's source code repository. For CI we are using CruiseControl as TFS2005 will not build .NET3.5 applications. Moving to TFS2010 is one of our considerations but we are also thinking of just moving to Subversion. Anyone done a TFS ...

Rails Migrations: Load default data

Best way to load seed data? I have an Author table that is tightly coupled with a Users table. I also have migrations to alter both of these tables. I want to add a default admin user but I want to make sure that both tables are created and all migrations have run for these tables before my CreateDefaultAdmin (or whatever) migration runs...

db:migrate order in Spree

I'm using spree and created a new payment gateway extension. The problem is, my newly created payment gateway gets created first before the core payment gateway of spree. Here's the error message. doesn't exist: SHOW FIELDS FROM gateway_options ...

How do I migrate a model out of one django app and into a new one?

I have a django app with four models in it. I realize now that one of these models should be in a separate app. I do have south installed for migrations, but I don't think this is something it can handle automatically. How can I migrate one of the models out of the old app into a new one? Also, keep in mind that I'm going to need this t...

Thoughts on migrating Joomla from one database server to another?

I've been building a joomla-based website for the past couple of months and the time has come to migrate the site from my personal development server to the production one. My initial thought was to dump the database and recreate it on the production server, but I'm wondering if there is a better way. Unfortunately there is some conten...

Migrating django.dispatch.dispatcher from Django 0.96 to 1.0.2

How does one perform the following (Django 0.96) dispatcher hooks in Django 1.0? import django.dispatch.dispatcher def log_exception(*args, **kwds): logging.exception('Exception in request:') # Log errors. django.dispatch.dispatcher.connect( log_exception, django.core.signals.got_request_exception) # Unregister the rollback event...

Rails migration for C++

Is there a tool for C++ that is at least remotely similar to Rails migrations? ...

Automated Oracle Schema Migration Tool

What are some tools (commercial or OSS) that provide a GUI-based mechanism for creating schema upgrade scripts? To be clear, here are the tool responsibilities: Obtain connection to recent schema version (called "source"). Obtain connection to previous schema version (called "target"). Compare all schema objects between source and targ...

Oracle Schema Doubt?

Currently am using postgres with diff schemas for diff modules.Now i am planning to switch towards oracle.But i heard that in oracle schema is not there..Is it true..if it is like that how can i migrate? ...