Skip to content

Commit 7721eab

Browse files
committed
test(spec/dummy/Invoice): add description column to invoice
1 parent fbb8e43 commit 7721eab

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class AddDescriptionToInvoice < ActiveRecord::Migration[5.2]
2+
def change
3+
add_column :invoices, :description, :text
4+
end
5+
end

spec/dummy/db/schema.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema.define(version: 2022_04_01_181023) do
13+
ActiveRecord::Schema.define(version: 2022_06_17_213244) do
1414

1515
create_table "active_admin_comments", force: :cascade do |t|
1616
t.string "namespace"
@@ -94,6 +94,7 @@
9494
t.boolean "active", default: true
9595
t.string "shipping_status"
9696
t.text "picture_data"
97+
t.text "description"
9798
t.index ["category_id"], name: "index_invoices_on_category_id"
9899
t.index ["city_id"], name: "index_invoices_on_city_id"
99100
end

0 commit comments

Comments
 (0)