I'm building a Rails application using MongoDB as the back-end and MongoMapper as the ORM tool. Suppose in version 1, I define the following model:
class SomeModel
include MongoMapper::Document
key :some_key, String
end
Later in version 2, I realize that I need a new required key on the model. So, in version 2, SomeModel now loo...
I am in the process of migrating an existing Access database to a SQL database with a web front-end. I have successfully copied the database to SQL using the SQL Server Migration tool and am working on developing the application. For reasons I won't go into here we cannot just link the Access front-end to the SQL DB and use the SQL DB as...
We have customized a TFS Template.
We would now like to move this template to a different TFS Server.
What is the best ways to do this?
Thanks
Shiraz
EDIT
We tried the process template as recommend below, but got the following error when trying to import:
---begin Exception entry---
Time: 2009-11-25 10:28:24Z
Module: Engine
Event ...
I've been involved in several projects which basically involved replacing an "old" system with a "new" system. Invariably, the pattern has been that practically no one on the team building the "new" system has any real knowledge of the "old" system. Whenever I questioned this, I've been told that this is purposeful... by not knowing th...
I'm a beginner at Ruby on Rails so I apologize if this is quite obvious, but I'm trying to learn how to write the database migration scripts and I'd like to change the following long_description to a text value instead of string:
class CreateArticles < ActiveRecord::Migration
def self.up
create_table :articles do |t|
t.col...
Hello There,
I'm part of a development team that works on many CMS based projects, using systems like Joomla and Drupal.
In our development process, all of our code changes are managed inside of Git. At the end of a sprint, we create a DIFF that we can apply via patch to live site.
The problem is that most of the time, the changes inc...
Is it possible to use an Add-in created for Visual Studio 6 in Visual Studio 2005. I know its possible for one to use COM Add-ins created for Visual Studio 2002/3 in Visual Studio 2005.
Unfortunately I don't have the Add-in project, else I would have tried to upgrade. I need the Add-in to work in VS2005 because it acts like a project wi...
Somebody is planning to move the subversion repository I work on (8000+ commits).
Is there a way to use git-svn to replay the last, say, 20 commits from the old location once the migration is finished?
(not only my own commits, but also other team members)
Bonus question: How do I add multiple svn repositories to my git local copy?
...
Until now, the project I work in used ASCII only in the source code. Due to several upcoming changes in I18N area and also because we need some Unicode strings in our tests, we are thinking about biting the bullet and move the source code to UTF-8, while using the utf8 pragma (use utf8;)
Since the code is in ASCII now, I don't expect to...
I am using Symfony 1.2 with the sfDoctrinePlugin.
I couldn't find any command to call the down method on a migration, neither the documentation suggests any related arguments to the existing doctrine migrate command.
What would be a way to rollback the migration I just ran successfully? Creating a new migration to undo is an option, but...
what would be the approximate time to migrate a 12GB VOB with all the history and with no binaries, from CC 2 SVN using say polarion SVN importer. What factors can increase/ decrease the performance of migration
...
Is there a way of offering the flexibility of Excel/Access development that end users love while instilling centralised IT management so data and logic is secure, backed up, version controlled etc. The common options are to re-write in C#/ASP.Net/Java/Python/Your Choice, but that takes away control from the users. Is there a better way,...
Did you try using JVCL 2.10 with Delphi 2010? I have Delphi 7 project that heavily uses DB components from that library and want to move it to new Delphi. I know that migration from JVCL 2.10 to newest JVCL version will be very problematic, so it would be better if Delphi 2010 worked with 2.10. do you have any experience?
...
I am trying to migrate my own projects to delphi 2010. But it seems to be very difficult.
I use TntControls for old projects. If I remove this library, some runtime functions must be re-implemented by myself. For instance: convert UnicodeString to a specified code page.
The "SizeOf", "Length", FillChar() still confuse me. Compiler wil...
I'm probably just being very thick here, but it's not clear to me where I'm supposed to install 'new' user-specific programs on Windows 7 (and presumably Vista too, though I've not specifically looked at that scenario yet).
Under Windows XP (rightly or wrongly) we always installed our programs into folders under 'Program Files' and acce...
I'm maintaining library written for PHP 5.2 and I'd like to create PHP 5.3-namespaced version of it. However, I'd also keep non-namespaced version up to date until PHP 5.3 becomes so old, that even Debian stable ships it ;)
I've got rather clean code, about 80 classes following Project_Directory_Filename naming scheme (I'd change them t...
I'm working with another dev and together we're building out a MySQL database. We've each got our own local instances of MySQL 5.1 on our dev machines. We've not yet been able to identify a way for us to be able to make a local schema change (eg: add a field and some values for that field) and then export some kind of script or diff file...
# Dump my database to a tar file
pg_dump -f myDatabase.tar -F t -h myServer -U myUser -W -i myDatabase
# create a new database
createdb -h myServer -U myUser -T template0 myDatabaseCopy
# restore my database
pg_restore -d myDatabaseCopy -h myServer -U myUser myDatabase.tar
Then I get this error, and the import fails for an entire table...
How to migrate from Google Code's subversion to another subversion server keeping the history?
The problem here is that I don't have access to the repository of Google Code, nor to the one I will migrate.
...
I'm generating migrations between different yaml schema files: i.e. running:
symfony doctrine:generate-migrations-diff
And the resulting migration file has a whole slew of changeColumn calls that weren't added in the last schema file change.
For example, if you run generate-migrations-diff without changing your schema file whatsoever,...