--- /dev/null
+class RemoveProjectsProjectsCount < ActiveRecord::Migration
+ def self.up
+ remove_column :projects, :projects_count
+ end
+
+ def self.down
+ add_column :projects, :projects_count, :integer, :default => 0
+ end
+end
created_on: 2006-07-19 19:13:59 +02:00\r
name: eCookbook\r
updated_on: 2006-07-19 22:53:01 +02:00\r
- projects_count: 3\r
id: 1\r
description: Recipes management application\r
homepage: http://ecookbook.somenet.foo/\r
created_on: 2006-07-19 19:14:19 +02:00\r
name: OnlineStore\r
updated_on: 2006-07-19 19:14:19 +02:00\r
- projects_count: 0\r
id: 2\r
description: E-commerce web site\r
homepage: ""\r
created_on: 2006-07-19 19:15:21 +02:00\r
name: eCookbook Subproject 1\r
updated_on: 2006-07-19 19:18:12 +02:00\r
- projects_count: 0\r
id: 3\r
description: eCookBook Subproject 1\r
homepage: ""\r
created_on: 2006-07-19 19:15:51 +02:00\r
name: eCookbook Subproject 2\r
updated_on: 2006-07-19 19:17:07 +02:00\r
- projects_count: 0\r
id: 4\r
description: eCookbook Subproject 2\r
homepage: ""\r
created_on: 2006-07-19 19:15:51 +02:00\r
name: Private child of eCookbook\r
updated_on: 2006-07-19 19:17:07 +02:00\r
- projects_count: 0\r
id: 5\r
description: This is a private subproject of a public project\r
homepage: ""\r
created_on: 2006-07-19 19:15:51 +02:00\r
name: Child of private child\r
updated_on: 2006-07-19 19:17:07 +02:00\r
- projects_count: 0\r
id: 6\r
description: This is a public subproject of a private project\r
homepage: ""\r