gab-social/db/migrate/20201214051720_create_media_attachment_albums.rb

12 lines
342 B
Ruby
Raw Normal View History

2020-12-16 00:31:30 +00:00
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