I've got several demonstration programs that use Electroserver, but I'd also want to test the same code using Smartfox.
What is the most straightforward method to do this kind of migration? I know the types of classes that need to be changed, but since the terminology is slightly different in both libraries, it's difficult to make a smoo...
I am migrating my site from PHP 4 to 5
I keep getting this error on the version 5 server:
Parse error: syntax error, unexpected
';' in /var/www/vhosts/**.php on
line 1688
I when I check the code its something like this:
<?=#something here being commented out?>
This worked fine in v4 but now its creating an Error. I really d...
the original migration looks like this:
class CreateUsers true do |t|
t.string :login, :limit => 40
t.string :name, :limit => 100, :default => '', :null => true
t.string :email, :limit => 100
t.string :crypted_password, :limit => 40
t.string :salt, :limit => 40
t.string :remember_token...
hello, i have a very complicated problem that i would like to share with you and maybe someone can answer it for me.
before i start i have to say that i am very new in this.
So, i have a coredata iphone app (much like the recipes app) that uses a pre-populated sql database.
The user can add/edit his own data but the default data cannot ...
Are there any tutorials for FluentMigrator? Some "Getting Started..." tutorial would be just awesome. All I was able to find was FluentMigrator.Tests (unit tests), inside FluentMigrator source, which are not as helpful as "Getting Started..." would be.
...
Hi, I'm a beginner at Ruby On Rails and am trying to get a migration to work with the name Priorities
So, here is the code I use in my migration:
class Priorities < ActiveRecord::Migration
def self.up
create_table :priorities do |t|
t.column :name, :string, :null => false, :limit => 32
end
Priority.create :name => "...
Hi,
We have an application for Windows server 2003 developed using Visual studio which we are porting to linux , for this we are using Eclipse IDE. Can someone guide me what should be the strategy for moving the source from Visual studio to Eclipse. Basically we are trying to retain the project structure and later we do the code changes...
Hello, I have to migrate this query (simplified here) from T-SQL to ORACLE
SET IDENTITY_INSERT table ON
INSERT INTO table (id, value) VALUES (1, 2)
SET IDENTITY_INSERT table OFF
id being an Identity field in SQLServer.
I have the same table with a sequence in ORACLE, I couldn't find a snippet that shows how to disable the sequence ...
I have a deployed app that samples measurements from sensors (e.g., Temp °C, Pressure kPa). The user can create Experiments and collect samples. Each sample is stored as a Run, such that there is a one-to-many relationship from Experiment to Run. In the interest of performance, Run has a to-one relationship with Data entity (which is whe...
Hello all,
Does anyone know how to change a column in SQLite and PostgreSQL to LONGTEXT?
I have done so in MySQL successfully with:
"ALTER TABLE projects MODIFY description LONGTEXT;"
But this clause doesn't seem to work on SQLite. I tried hard to find documentation on PostgreSQL, but that site's format really makes people puke. SQLi...
i want to migrate one of the application from vb6 to .net with visual studio 2010.At present the application is windows based application. i want to make web application.
i guess i have to rewrite the code in .net. could you please advice me while i rewrite the code in .net.
...
We have some applications that are being worked upon in .Net 2.0 since long back. I'm recommending my team to move the base from .net 2.0 to .net 3.5sp1 and focus and leverage from C# 3.0 but I'm facing difficulties in doing so. What are the implications of not migrating to .net 3.5 and C# 3.0 ? What are your experiences on this front an...
Is there an equivalence of ($)PGDATA (Postgres) for MySQL?
...
There are several questions on SO about version control for SQL and lots of resources on the web, but I can't find something that quite covers what I'm trying to do.
First off, I'm talking about a methodology here. I'm familiar with the various source control applications out there and I'm familiar with tools like Red Gate's SQL Compare...
Hi,
I'm currently trying to convince my company to migrate to git from subversion, and one thing that would be really helpful would be to allow me to store a repository in subversion and git at the same time (then I can show them how easy it is to do in git what they've spent an hour trying to do in subversion). I guess that I could put...
I am migrating a project from vs 2005 to vs 2010 and the problem appeared.
My program links statically to a C library. I am making a call in this library that returns a C++ object which itself has a public member that is a struct.
When I try to modify some values in this struct from my code, I got some access violation errors.
In the ...
I need to populate my production database app with data in particular tables. This is before anyone ever even touches the application. This data would also be required in development mode as it's required for testing against. Fixtures are normally the way to go for testing data, but what's the "best practice" for Ruby on Rails to ship th...
I am migrating some C++ code from structures to classes.
I was using structures mainly for bit-field optimizations which I do not need any more (I am more worried about speed than saving space now).
What are the general guidelines for doing this migration? I am still in the planning stage as this is a very big move affecting a major p...
We have script/generate migration add_fieldname_to_tablename fieldname:datatype syntax for adding new columns to a model.
On the same line, do we have a script/generate for changing the datatype of a column? Or should I write sql directly into my vanilla migration?
I want to change a column from datetime to date.
Thanks
...
Hello.
I am trying to get my app up and running on heroku. However once I go to migrate I get the following error:
$ heroku rake db:migrate --trace
rake aborted!
An error has occurred, this and all later migrations canceled:
530 5.7.0 Must issue a STARTTLS command first. f5sm3554179qcg.2
/usr/local/lib/ruby/1.8/net/smtp.rb:576:in `au...