Przeglądaj źródła

add orders list file

abiao 4 lat temu
rodzic
commit
91126ddff6

+ 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
       # 商品名称