gab-social/db/migrate/20201214051720_create_media_attachment_albums.rb
2020-12-15 19:31:30 -05:00

12 lines
342 B
Ruby

class CreateMediaAttachmentAlbums < ActiveRecord::Migration[5.2]
def change
create_table :media_attachment_albums do |t|
t.text :title, null: false, default: ''
t.text :description
t.integer :account_id, null: false
t.integer :visibility, null: false, default: 0
t.timestamps null: false
end
end
end