migration

Migrate project from RCS to git?

南楼画角 提交于 2020-01-10 06:44:08
问题 I have a 20-year-old project that I would like to migrate from RCS to git, without losing the history. All web pages suggest that the One True Path is through CVS. But after an hour of Googling and trying different scripts, I have yet to find anything that successfully converts my RCS project tree to CVS. I'm hoping the good people at Stackoverflow will know what actually works, as opposed to what is claimed to work and doesn't. (I searched Stackoverflow using both the native SO search and a

MigrationSchemaMissing(Unable to create the django_migrations table (%s) % exc)

北慕城南 提交于 2020-01-10 04:09:10
问题 Steps I did: 1. Deleted migration files. 2.created only one initial migration file. 3. Enter psql command prompt. Connect to database. drop schema public cascade; create schema public; 4.tried to migrate again. I get MigrationSchemaMissing(Unable to create the django_migrations table (%s) % exc) Error. 回答1: This answer and the comment on its question works for me, in brief you must get required grant for a schema as below: grant usage on schema public to username; grant create on schema

Migrating From NetBeans to Eclipse

三世轮回 提交于 2020-01-09 19:42:26
问题 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. 回答1: I have recently 'migrated' from Netbeans to Eclipse and found it amazingly easy. The reason it was easy though is that all of our projects are IDE independent standard ant and ivy build scripts that most modern IDE's can understand. This way, we all get to use the IDE we like (yes - emacs and vi too) and their are no 'migration' issues. The

MySql to PostgreSql migration

可紊 提交于 2020-01-09 12:52:16
问题 My PostgreSQL is installed on Windows. How can I migrate data from MySQL database to PostgreSQL? I've read tons of aricles. Nothing helps :( Thanks. My actions: mysql dump: mysqldump -h 192.168.0.222 --port 3307 -u root -p --compatible=postgresql synchronizer > c:\dump.sql create db synchronizer at pgsql import dump: psql -h 192.168.0.100 -d synchronizer -U postgres -f C:\dump.sql output: psql:C:/dump.sql:17: NOTICE: table "Db_audit" does not exist, skipping DROP TABLE psql:C:/dump.sql:30:

Visual Studio Online migration (VSO to VSO)

喜夏-厌秋 提交于 2020-01-09 07:15:13
问题 We are attempting to migrate from one Visual Studio Online account to another Visual Studio Online account. This is different from an on-premise TFS to Visual Studio Online migration. Most articles explain a migration using the on-premise to VSO approach, only. Accounts https:\vsoaccount1.visualstudio.com\DefaultCollection https:\vsoaccount2.visualstudio.com\DefaultCollection For TFS to VSO, we found a solution by using OpsHub Visual Studio Online Migration Utility. We also tried to use the

Modify CreationDate for TFS Changeset

自作多情 提交于 2020-01-07 05:05:10
问题 I'm currently creating a migration tool from one version control system to TFS and am using the Microsoft.TeamFoundation.Client assembly and have run into a problem. I am able to mimic the changes for each Changeset , but the CreationDate property is automatically generated by the CheckIn method as shown below: var changeSetId = workspace.CheckIn(pendingChanges, userName, comment, note, null, null); I am then able to load the Changeset object by ID that was returned by the CheckIn method: var

Migration from MBUnit v2 to v3 and the ProviderFactory is gone

醉酒当歌 提交于 2020-01-07 02:25:27
问题 In MBUnit v2 I did this: public class ConnectionStringFactory { [Factory] public string ConnectionString { get { return ConfigurationManager.ConnectionStrings["MyConnection"].ConnectionString; } } } [ProviderFactory(typeof(ConnectionStringFactory),typeof(string))] public class CustomerTests { public void GetCustomerTest(string connectionString) { } public void GetCustomersTest(string connectionString) { } } I had to create ONE Factory class returning me a connectionString which gets injected

How to set TimeStamp with Timezone in Laravel 5 Migrate

大憨熊 提交于 2020-01-06 20:02:52
问题 I had set timestamp in migrate laravel 5, like this: $table->timestamp('verify_account')->nullable(); But, that is no set with timezone in postgresql. I want to set timestamp with timezone in postgresql, how to do it? 回答1: There is now a timestampsTz function available when using Postgres. It should be available in Laravel 5.1 and above. 回答2: I had fix my problem.. I add a few code in laravel vendor directory First step, open vendor/laravel/framework/src/illuminate/Database/Schema/Blueprint

Mysql2::Error: Table 'conversations' already exists

点点圈 提交于 2020-01-06 15:25:14
问题 I'm getting this error after trying to update a gem (mailboxer) and removing it. Mysql2::Error: Table 'conversations' already exists: CREATE TABLE conversations ( id int(11) DEFAULT NULL auto_increment PRIMARY KEY, subject varchar(255) DEFAULT '', created_at datetime NOT NULL, updated_at datetime NOT NULL) I tried: Bundle exec rake db:migrate rollback then rake db:migrate Bundle exec rake db:migrate v= xxxxxxxx then rake db:migrate getting rid of the migration files (that worked but I don't

Bundle Exec Rake DB Migrate

这一生的挚爱 提交于 2020-01-06 13:53:39
问题 I have been getting this error when I run bundle exec rake db:migrate for a basic RoR website. I am a beginner and found similar errors on this site and Treehouse but nothing with the specific second half of this error (from the NOT NULLC onward). I am still not sure how to resolve this - can anyone advise? I am running this on windows. SQLite3::SQLException: duplicate column name: email: ALTER TABLE "users" ADD "em ail" varchar(255) DEFAULT '' NOT NULLC:/Sites/code/omrails-master/db/migrate