change_column :orders,:status,:integer,:null=>false,:default=>Setting.orders.status_none
在create_table
t.string :name,null: false,default: ""
change_column :orders,:status,:integer,:null=>false,:default=>Setting.orders.status_none
在create_table
t.string :name,null: false,default: ""