Implement SubprojectAddresses in Subprojects
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddSubprojectRelationToSubprojectAddresses < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_column :subproject_addresses, :subproject_id, :integer
|
||||
end
|
||||
end
|
||||
3
db/schema.rb
generated
3
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.0].define(version: 2025_07_22_152542) do
|
||||
ActiveRecord::Schema[8.0].define(version: 2025_07_23_134650) do
|
||||
create_table "clients", force: :cascade do |t|
|
||||
t.string "company_name"
|
||||
t.string "firstname"
|
||||
@@ -44,6 +44,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_07_22_152542) do
|
||||
t.text "notes"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "subproject_id"
|
||||
end
|
||||
|
||||
create_table "subprojects", force: :cascade do |t|
|
||||
|
||||
Reference in New Issue
Block a user