summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorMarius Peter <dev@marius-peter.com>2025-11-23 17:54:45 +0100
committerMarius Peter <dev@marius-peter.com>2025-11-23 17:54:45 +0100
commitfa77a691ce0cc8941fe470a762f352b27f4f0563 (patch)
tree08916174840a7896fc59633cc59fab931e7012c2 /db/schema.rb
parent73283f2f5153c77f72b6a29e98f173628f5e1057 (diff)
Last commit.HEADmaster
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/db/schema.rb b/db/schema.rb
index d201f5a..0fe55a6 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,13 +11,6 @@
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_09_08_181147) do
- create_table "beds", force: :cascade do |t|
- t.integer "location", null: false
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.index ["location"], name: "index_beds_on_location", unique: true
- end
-
create_table "fertilizer_components", force: :cascade do |t|
t.string "name"
t.string "formula"
@@ -107,19 +100,6 @@ ActiveRecord::Schema[8.0].define(version: 2025_09_08_181147) do
create_table "nutrients", force: :cascade do |t|
t.string "formula"
t.string "name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-
- create_table "rafts", force: :cascade do |t|
- t.integer "bed_id", null: false
- t.integer "location", null: false
- t.integer "crop_nutrient_need_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.index ["bed_id", "location"], name: "index_rafts_on_bed_id_and_location", unique: true
- t.index ["bed_id"], name: "index_rafts_on_bed_id"
- t.index ["crop_nutrient_need_id"], name: "index_rafts_on_crop_nutrient_need_id"
end
create_table "target_allocations", force: :cascade do |t|
@@ -140,8 +120,6 @@ ActiveRecord::Schema[8.0].define(version: 2025_09_08_181147) do
add_foreign_key "fertilizer_compositions", "fertilizer_components"
add_foreign_key "fertilizer_compositions", "fertilizer_products"
- add_foreign_key "rafts", "beds"
- add_foreign_key "rafts", "nutrient_profiles", column: "crop_nutrient_need_id"
add_foreign_key "target_allocations", "nutrient_profiles"
add_foreign_key "target_allocations", "targets"
end
Copyright 2019--2026 Marius PETER