ソースを参照

order base detail export edit

abiao 4 年 前
コミット
9d3c7cdbf4
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      db/migrate/20161017200009_create_ad_positions.rb

+ 1 - 1
db/migrate/20161017200009_create_ad_positions.rb

@@ -10,7 +10,7 @@ class CreateAdPositions < ActiveRecord::Migration
       #广告位置描述
       t.string   :remark,  :null => false
       #该广告位被点击的总次数
-      t.integer  :click_times,  :default => 0
+      t.integer  :click_times,  :default => 0,:comment => 0
       #广告位招租图片
       t.text   :img, :null => false
       #图片点击链接