1
0
mirror of https://github.com/danbee/my-images synced 2025-03-04 08:49:05 +00:00
my-images/db/migrate/20240324003804_create_albums.rb
2024-03-25 20:26:50 -05:00

12 lines
206 B
Ruby

class CreateAlbums < ActiveRecord::Migration[7.0]
def change
create_table :albums do |t|
t.string :title
t.text :description
t.belongs_to :user
t.timestamps
end
end
end