My Core Data model contains an entity, Shape, that has two self-referential relationships, which means four properties. One pair is a one-to-many relationship (Shape.containedBy <->> Shape.contains) and the another is a many-to-many relationship (Shape.nextShapes <<->> Shape.previousShapes). It all works perfectly in the application, so ...
I am trying to convert an SVN repository to Mercurial, but I'm having some troubles. These are the steps I've taken: (I am on Windows)
Turned on "convert" in the extensions
Opened a command window, and typed:
hg convert http://myversioncontrorepositoryhere
It says it's initializing the destination folder and then asks:
Enter use...
Hi,
we're re-evaluating our database upgrade process for our application to try and remove the pain of having to generate all the upgrade scripts for a release at the end of the release cycle. We're looking to move towards a more evolutionary process, using migrations which are checked in alongside features with a tool such as migrator...
I am maintaining a pretty large Access 2003 project with a MDB data file on the server and linked tables. The plan is to upgrade to Access 2007 (or even 2010) and SQL Server as the data storage.
As this is a two-step plan, which of these steps is best done first? Does it make a difference if I first upgrade to 2007, or should I link to ...
I have created a new table including a column "note". The default is varchar(255) I believe but I wish to have this column be a text area vs. a field and to allow more data. I imagine that I would make this change in ActiveRecord::Migration file but I am curious as to the format. Do I simply change the varchar(255) to varchar(1000) for e...
im testing web application(e-learning which having users, content items, reporting,assigning ...) which had a DB migration from SQL 2000 to 2005.
If somebody knows what are the area i should focus on testing Please let me know.
...
Hi,
I have a table generated by GORM (Grails Domain). It has foreign key / index that generated random characters like FKAC7AAF67162A158F. I need to remove that field that not needed anymore.
The problems, I have some servers that need to be updated. So I need to create a migration using Liquibase. But I have no idea how to remove that...
For many years I have had an objective of moving out of ASP/VBScript to a "better" language - my preference would be C# as I have skills in C - but I would consider other languages too (including PHP etc. so not just DotNet)
Objective is to have the code base in a language which does more for us. I hate the lack of data typing in VBScri...
Hello, I am new to joomla and I need to work on a joomla website for a school project. I modified an existing module to make it display featured projects and it does that flawlessly when I test the site locally. However, when I uploaded my files to the hosted copy of the website, the module will load but does not display anything. It jus...
I am reviewing currently a medium size code base (around 30K LOC) which uses a huge Applet and interfaces with other systems.
It's a tool to create custom labels, so we need drag-n-drop and other related UI components.
To which technogly will you migrate given the code base is in Java.
Applet -- No
Java FX -- Adoption rate is too low...
I am a Rails beginner and trying to understand how rails migration works.
I have created a scaffold like:
script/generate scaffold Item col1:string col2:text
rake db:migrate
I would like to add another col4 using migration:
I created a migration as follows:
class AddCol4 < ActiveRecord::Migration
def self.up
add_column ...
I have a svn repo with various apps as subdirectory of a single svn repo. That worked because I could have checked out a partial, repo. As I cant do that with git obviously I need multiple repos. I want to keep my commit histories in the git export. What is the simplest way to do this?
...
How can I migrate my data from my rails app from mySql to SQLite?
Is this possible?
...
I'm fairly new to Ruby on Rails here.
I have 2 migrate files that were provided. The first one, prefixed with 001, creates a table and some columns for that table. The next migrate file, prefixed with 002, inserts rows into the table created in file 001.
Running the migration (rake db:migrate in command line) correctly creates the tab...
I'm considering switching from MFC to WPF.
My first concern is that there are too many users who don't have .NET with WPF installed yet. Can anybody point to a source containing the WPF penetration numbers?
My second concern is speed.
Any other considerations?
...
Hi guys,
we have a current website which shows the product, shopping cart and the whole shebang. and we're trying to migrate to Amazon web store, not the Cloud computing architecture type but the basic html web store method.
And based on the tools that i see is available on amazon web store, there seems to be a lot of html editing, exce...
Hey Guys,
Just working through the Agile Web Development with Rails book and near the closing chapters of the book I had to rollback the db a few times using db:migrate VERSION=0 followed by the db:migrate command. However upon bringing the database back from the ground up, the add_test_data migration fails to add the test entries to th...
Hi all,
Is it possible to include port numbers in hosts file? Reason that I'm asking is because I have sites that I'm trying to migrate from one hosting server to another, and the sites are pointing to an old SQL server that uses the standard TCP/IP port (1433). On the new server, the SQL Server port is different, and I don't want to ch...
Is it standard practice to put db:migrate in my capistrano task, maybe before updating the code? I don't want to forget to add a column to production and get errors so I feel like there should be a seamless way to do this. Is there anything wrong with doing it the way I mentioned? ...just wondering what the standard practice is here
...
I'm migrating an mature application from Tomcat 5.5.x to 6.0.x. What are the sticking points that I need to make sure that I address?
I use a couple of Tomcat's services that I suspect will need adjustment...
The logging mechanism: I altered the conf/logging.properties to include my webapp.
The Resource of type="javax.sql.DataSource...