added friends
This commit is contained in:
12
db/migrate/20251119093322_create_friends.rb
Normal file
12
db/migrate/20251119093322_create_friends.rb
Normal file
@ -0,0 +1,12 @@
|
||||
class CreateFriends < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
create_table :friends do |t|
|
||||
t.string :firstname, null: false
|
||||
t.string :lastname, null: false
|
||||
t.string :email, null: false
|
||||
t.string :telefon, null: false
|
||||
t.integer :level, default: 5
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user