c18991f174
• Added: - LinkBlock functionality in admin
10 lines
252 B
Ruby
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 |