Skip to content

Commit 28040e6

Browse files
chore schema.rb: task #32
update schema migration.
1 parent 14408ce commit 28040e6

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

db/schema.rb

Lines changed: 17 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[7.0].define(version: 2023_12_21_234141) do
13+
ActiveRecord::Schema[7.0].define(version: 2024_01_03_204520) do
1414
# These are extensions that must be enabled in order to support this database
1515
enable_extension "pgcrypto"
1616
enable_extension "plpgsql"
@@ -211,6 +211,22 @@
211211
t.integer "months", default: 1
212212
end
213213

214+
create_table "items", force: :cascade do |t|
215+
t.string "sku"
216+
t.integer "unity"
217+
t.integer "quantity"
218+
t.decimal "discount"
219+
t.decimal "value"
220+
t.decimal "ipi_tax"
221+
t.string "description"
222+
t.string "long_description"
223+
t.bigint "product_id"
224+
t.integer "account_id"
225+
t.bigint "bling_order_item_id"
226+
t.datetime "created_at", null: false
227+
t.datetime "updated_at", null: false
228+
end
229+
214230
create_table "post_data", force: :cascade do |t|
215231
t.string "client_name"
216232
t.string "cep"

0 commit comments

Comments
 (0)