瀏覽代碼

add orders list file

abiao 4 年之前
父節點
當前提交
91126ddff6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      db/migrate/20210415114688_create_product_warns.rb

+ 1 - 1
db/migrate/20210415114688_create_product_warns.rb

@@ -4,7 +4,7 @@ class CreateProductWarns < ActiveRecord::Migration
     #商品生产预警
     create_table :product_warns do |t|
       # 统计时间
-      t.column :happen_time,:datetime
+      t.column :happen_time,:date
       # 商品ID
       t.column :product_id, :integer, :limit => 4, :null => false, :default => 0
       # 商品名称