integration of the new MVC for subproject_addresses
This commit is contained in:
		
							
								
								
									
										13
									
								
								db/migrate/20250722152542_create_subproject_addresses.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								db/migrate/20250722152542_create_subproject_addresses.rb
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| class CreateSubprojectAddresses < ActiveRecord::Migration[8.0] | ||||
|   def change | ||||
|     create_table :subproject_addresses do |t| | ||||
|       t.string :streetname | ||||
|       t.string :zipcode | ||||
|       t.string :city | ||||
|       t.string :country | ||||
|       t.text :notes | ||||
|  | ||||
|       t.timestamps | ||||
|     end | ||||
|   end | ||||
| end | ||||
							
								
								
									
										12
									
								
								db/schema.rb
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										12
									
								
								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_21_145904) do | ||||
| ActiveRecord::Schema[8.0].define(version: 2025_07_22_152542) do | ||||
|   create_table "clients", force: :cascade do |t| | ||||
|     t.string "company_name" | ||||
|     t.string "firstname" | ||||
| @@ -36,6 +36,16 @@ ActiveRecord::Schema[8.0].define(version: 2025_07_21_145904) do | ||||
|     t.datetime "order_date" | ||||
|   end | ||||
|  | ||||
|   create_table "subproject_addresses", force: :cascade do |t| | ||||
|     t.string "streetname" | ||||
|     t.string "zipcode" | ||||
|     t.string "city" | ||||
|     t.string "country" | ||||
|     t.text "notes" | ||||
|     t.datetime "created_at", null: false | ||||
|     t.datetime "updated_at", null: false | ||||
|   end | ||||
|  | ||||
|   create_table "subprojects", force: :cascade do |t| | ||||
|     t.string "subproject_name" | ||||
|     t.integer "project_id", null: false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stefan Tollkühn
					Stefan Tollkühn