You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 077_create_server_keys.rb
    path of file: ./repos/moebooru/db/migrate
    
    the code of the file until where you have to start completion: require "digest/sha1"

class CreateServerKeys < ActiveRecord::Migration[5.1]
  def self.up
    create_table :server_keys do |t|
      t.column :name, :string, null: false
      t.co
    
  def self.up
    create_table :server_keys do |t|
      t.column :name, :string, null: false
      t.column :value, :text
    end

    add_index :server_keys, :name, unique: true

    session_secret_key = CONFIG["session_secret_key"] || Digest::SHA1.hexdigest(rand(10**32))
    user_password_salt = CONFIG["password_salt"] || Digest::SHA1.hexdigest(rand(10**32))

    execute "insert into server_keys (name, value) values ('session_secret_key', '#{session_secret_key}')"
    execute "insert into server_keys (name, value) values ('user_password_salt', '#{user_password_salt}')"
  end