Bläddra i källkod

add orders list file

abiao 4 år sedan
förälder
incheckning
91126ddff6
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
       # 商品名称