migration

Migrating password encryption schemas

I am possibly taking over an app that literally just encrypts user passwords by doing md5( password ) They have ~2000 users to date, so I'm wondering how I can migrate those passwords (or can I?) to a stronger encryption schema (e.g. involving a salt, user-specific hash, and their password, all encrypted with sha1, bcrypt, whatever) Th...

How do I migrate table schemas from one DB to another without damaging the data in the destination DB?

How do I migrate table schemas from one DB to another without damaging the data in the destination DB? I want to move my data from my deployed development copy to the live database and would like to run some scripts to do it. I need to upgrade the schema for some tables and create others. I figure right now that I'll have to check eac...

What happens to all the hard-coded URIs when I move a Web Service?

I'm developing a test WS with JAX-WS and the demo works fine but if I try to move it in production there are a lot of occurences of the URL of my test enviroment on my code. For example: com.mycompany.testserver.ws.writer.WriterInterface service = new com.mycompany.testserver.ws.writer.WriterInterface(); QName portQName = new QName("ht...

Porting a PowerBuilder Application to .NET

Does anyone have any advice for migrating a PowerBuilder 10 business application to .NET? My company is considering migrating a legacy PB application to .NET (C#) and I am just wondering if anyone has any experience - good or bad - that you would like to share. The application is rather large with 10 PBL libraries, some PFC as well as...

How to automate migration (schema and data) for PHP/MySQL application

I have an application in PHP/MySQL. I am searching for an automated way upgrading database behind the application. I don't need to have the compatibility with older versions once it is upgraded. I have read jeff's and K. Scott Allen's articles on this. I am still not sure how to implement this for a PHP/MySQL application. Is there any...

how to move already written codeigniter code to kohana?

Hi, All I'm already using codeigniter for some time, and i liked it but it looks like i need to move to kohana, because my other team member need our code to fully use PHP5 feature. the problem is, we have already code half of the code in CodeIgniter. my question is: Did anyone here have done it before? Is it possible to do? how muc...

ClearCase to SVN migration

Well I have an issue with SVN importer tool for migrating one of the ClearCase VOB which has a huge history ..we thought of doing this by picking up like 10 -15 baseline versions of the code and import it to SVN. So for doing that I think the user has to give me the specific versions one by one . So now he is asking me how to point a...

Migrating from old Borland C++ to Visual C++ Express

At the risk of appearing a dinosaur, I have some old C++ code, compiled with Borland C++, which sets registers, and interfaces to an Assembler module, which I would like to modernize. I have just installed MS VC++ Express, and needless to say a lot of things don't work! The default seems to be Win32, which is fine, so I have blanked out...

Database Migrations and Views

I am using migrator.net to handle database migrations for SQL Server, and I like it so far. The only issue I've run into is how best to migrate changes to views. Thus far, I've been managing each update as a separate script file (which recreates the view). This lets me go back to previous versions of the view without duplicating the c...

Migrating From NetBeans to Eclipse

My company wants to migrate to Eclipse, I was wondering what options besides an Ant build are there to move our projects from Netbeans to Eclipse. ...

Is rake db:migrate the correct command to re-sync schema.rb with your database schema?

I ran "rake db:migrate" to re-sync schema.db with my database schema. But it failed, saying that one of my tables already exists. I think it was trying to re-create the table. If you just want to get schema.rb updated to reflected any changes you made in the database independently of Rails, what command should you use if not "rake db:mig...

known and "unknown" incompatibilities between sql 2005 and 2008?

as usual, we'd like to think that there won't be any trouble migrating our applications to the latest sql version... but... but... but... well, just to be prepared, has anybody stumbled into some nasty incompatibility issue? (for example, I remeber that after migrating from 2000 to 2005, one linked server we had to a sql 6.5 server ...

Generate SubSonic migration code from existing db?

In Rob Conery's post about SubSonic Migrations written in October 2007 he mentions in the 'Left To Do' list that: I want to be able to “Reverse Engineer” an existing DB into a migration file I am looking at introducing versioning control for an existing database with a lot tables, and SubSonic looks like the tool for me, but I'...

How do I populate a table in rails from a fixture?

Quick summary: I have a Rails app that is a personal checklist / to-do list. Basically, you can log in and manage your to-do list. My Question: When a user creates a new account, I want to populate their checklist with 20-30 default to-do items. I know I could say: wash_the_car = ChecklistItem.new wash_the_car.name = 'Wash and wax the ...

Can Rails Migrations be used to convert data?

I'm trying to convert a column in my Rails app, for arguments sake let's pretend I'm trying to change the age column in my users table to a string representation rather than an int. In my migration I have this; def.self up add_column :users, :age_text, :string users = User.find(:all) users.each do |u| u.age_text = ...

How to migrate/convert from SVN to Mercurial (hg) on windows

I'm looking for a tool to migrate a couple of SVN repos to Mercurial, with history, labels and so on. I'm Using TortoiseHg (Windows x32), so ConvertExtensions are discarted. There's some info on how to do this process on a Linux box (hgsvn) I don't have a Linux machine available. Can I use those python scripts on windows? If so, wha...

AS2 to AS3 Migration, Handling code left on buttons

I have several (20-30) Flash files that I need to migrate from AS2 to AS3. The biggest issue that I'm having is that it's extremely tedious to go through all the code and change the places where the code is on the buttons to an event handler model. I'm not hopeful, but I was wondering if anyone knew of any tricks or tools to quickly ch...

How can you migrate Django models similar to Ruby on Rails migrations?

Django has a number of open source projects that tackle one of the framework's more notable missing features: model "evolution". Ruby on Rails has native support for migrations, but I'm curious if anyone can recommend one of the following Django "evolution" projects: South django-evolution dmigrations ...

What other improvements in .NET's Dictionary vs. HashTable besides [un]boxing?

Trying to convince someone to switch from .NET 1.1 I saw people saying that one advantage of using the Dictionary class in post .NET 1.1 is performance increases due to not having to unbox/cast objects. Are there another improvements besides that? Or any other general advantages to moving away from .NET 1.1 ? ...

Migration: ASP.NET 1.1 to ASP.NET 2.0, broken postback

We just recently migrated our web application from .NET 1.1 to .NET 2.0. The web application was originally written in .NET 1.1 using Visual Studio 2003. To migrate it, we converted the solutions to VS2005. Aside from some minor problems like RESX incompatibility and broken Calendar Controls, the Web Application worked. However, we ju...