Sha256: 51e6017e1352ab922b39be8990a7b493ac676df263fa042ee9b0be3da4940b27

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 Bytes

Contents

Sequel.migration do
  change do
    create_table(:schema_migrations) do
      column :filename, "text", :null=>false
      
      primary_key [:filename]
    end
    
    create_table(:secrets) do
      primary_key :id
      column :userid, "text", :null=>false
      column :ownerid, "text", :null=>false
      column :key, "bytea", :null=>false
      column :created_at, "timestamp without time zone", :default=>Sequel::CURRENT_TIMESTAMP, :null=>false
    end
    
    create_table(:slosilo_keystore) do
      column :id, "text", :null=>false
      column :key, "bytea", :null=>false
      
      primary_key [:id]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conjur-asset-key-pair-0.2.1 spec/dummy/db/schema.rb