OSDN Git Service

GoogleAnalyticsのEコマース機能対応
authorkkitajima <kkitajima@06daa6dd-5c14-464e-8a85-0d68c524be32>
Wed, 24 Feb 2010 03:23:05 +0000 (03:23 +0000)
committerkkitajima <kkitajima@06daa6dd-5c14-464e-8a85-0d68c524be32>
Wed, 24 Feb 2010 03:23:05 +0000 (03:23 +0000)
足りないファイルを追加

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/elecoma/trunk@55 06daa6dd-5c14-464e-8a85-0d68c524be32

db/migrate/20100210072811_add_column_google_analytics_select_code_to_systems.rb [new file with mode: 0644]

diff --git a/db/migrate/20100210072811_add_column_google_analytics_select_code_to_systems.rb b/db/migrate/20100210072811_add_column_google_analytics_select_code_to_systems.rb
new file mode 100644 (file)
index 0000000..073a28d
--- /dev/null
@@ -0,0 +1,9 @@
+class AddColumnGoogleAnalyticsSelectCodeToSystems < ActiveRecord::Migration
+  def self.up
+    add_column :systems, :googleanalytics_select_code, :integer,:default => 0, :comment => "トラッキングコードの種類選択"
+  end
+
+  def self.down
+    remove_columns :systems, :googleanalytics_select_code
+  end
+end