abiao лет назад: 4
Родитель
Сommit
8e3cfa82ac
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      db/migrate/20210413114688_create_list_files.rb

+ 1 - 1
db/migrate/20210413114688_create_list_files.rb

@@ -7,7 +7,7 @@ class CreateListFiles < ActiveRecord::Migration
       # 订单编号
       t.column :order_no, :string, :limit => 255
       # 订单状态
-      t.column :order_status, :boolean, :default=>1
+      t.column :order_status, :string, :limit => 128
       #支付时间
       t.column :paied_date, :datetime
       #支付时间时间戳