]> git.openstreetmap.org Git - rails.git/commit
Added description, user_id, user_ip columns to notes
authorNenad Vujicic <nenadus@gmail.com>
Mon, 13 Jan 2025 09:52:38 +0000 (10:52 +0100)
committerNenad Vujicic <nenadus@gmail.com>
Mon, 13 Jan 2025 09:52:38 +0000 (10:52 +0100)
commit16bdcac6d7a91250bd29b3fbbcc6f1d92531b2d0
treedd39f317ebdb2d1ddc1e19d21cdb4d60554c2888
parent5d76ec051e2c429b6647401674e13688c1251956
Added description, user_id, user_ip columns to notes

Added migration for adding new columns (description, user_id, user_ip) to notes table. Also, migration adds foreign key connecting notes and users tables (using user_id column).
app/models/note.rb
db/migrate/20250104140952_add_description_to_notes.rb [new file with mode: 0644]
db/structure.sql