Progress
This commit is contained in:
12
db/migrate/20201214051720_create_media_attachment_albums.rb
Normal file
12
db/migrate/20201214051720_create_media_attachment_albums.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user