gab-social/db/migrate/20201206060226_create_link_blocks.rb
mgabdev c18991f174 Added LinkBlock functionality in admin
• Added:
- LinkBlock functionality in admin
2020-12-08 23:19:10 -05:00

10 lines
252 B
Ruby

class CreateLinkBlocks < ActiveRecord::Migration[5.2]
def change
create_table :link_blocks do |t|
t.string :link, null: false, default: ''
t.timestamps null: false
end
add_index :link_blocks, :link, unique: true
end
end