add models for Project, Task, Note, Category
This commit is contained in:
11
db/migrate/20250611172549_create_phone_numbers.rb
Normal file
11
db/migrate/20250611172549_create_phone_numbers.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreatePhoneNumbers < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :phone_numbers do |t|
|
||||
t.string :phone_number
|
||||
t.integer :type
|
||||
t.references :contact, null: false, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user