Compare commits
No commits in common. "46d54dfafd7e0b568a949615ec5ab5dc8fca12df" and "14b7d607a5075b7c725aefc349ce31d3e8cc08b4" have entirely different histories.
46d54dfafd
...
14b7d607a5
@ -1,6 +0,0 @@
|
|||||||
class ChangeNumericFieldInPayments < ActiveRecord::Migration
|
|
||||||
def change
|
|
||||||
change_column :p_payments, :amount, :decimal, :precision => 12, :scale => 2
|
|
||||||
change_column :p_payment_documents, :amount, :decimal, :precision => 12, :scale => 2
|
|
||||||
end
|
|
||||||
end
|
|
16
db/schema.rb
16
db/schema.rb
@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20190203134413) do
|
ActiveRecord::Schema.define(version: 20190128223146) do
|
||||||
|
|
||||||
create_table "admin_admin_roles", force: :cascade do |t|
|
create_table "admin_admin_roles", force: :cascade do |t|
|
||||||
t.integer "admin_id", limit: 4
|
t.integer "admin_id", limit: 4
|
||||||
@ -964,7 +964,7 @@ ActiveRecord::Schema.define(version: 20190203134413) do
|
|||||||
create_table "p_payment_documents", force: :cascade do |t|
|
create_table "p_payment_documents", force: :cascade do |t|
|
||||||
t.integer "p_payment_id", limit: 4
|
t.integer "p_payment_id", limit: 4
|
||||||
t.integer "p_document_id", limit: 4
|
t.integer "p_document_id", limit: 4
|
||||||
t.decimal "amount", precision: 12, scale: 2
|
t.decimal "amount", precision: 14, scale: 4
|
||||||
t.boolean "paid", default: false
|
t.boolean "paid", default: false
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
@ -983,14 +983,14 @@ ActiveRecord::Schema.define(version: 20190203134413) do
|
|||||||
t.datetime "paid_at"
|
t.datetime "paid_at"
|
||||||
t.datetime "theo_date"
|
t.datetime "theo_date"
|
||||||
t.integer "p_payment_type_id", limit: 4
|
t.integer "p_payment_type_id", limit: 4
|
||||||
t.decimal "amount", precision: 12, scale: 2
|
t.decimal "amount", precision: 10
|
||||||
t.string "number", limit: 255
|
t.string "number", limit: 255
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
t.integer "p_customer_id", limit: 4
|
t.integer "p_customer_id", limit: 4
|
||||||
t.boolean "paid", default: false
|
t.boolean "paid", default: false
|
||||||
t.boolean "canceled", default: false
|
t.boolean "canceled", default: false
|
||||||
t.boolean "affected", default: false
|
t.boolean "affected", default: false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "p_price_cat_p_degressifs", force: :cascade do |t|
|
create_table "p_price_cat_p_degressifs", force: :cascade do |t|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user