Sha256: 1050f1e98715da9f75c13a4af8c061107ebfedc868373d31db0f901c7c7cd349
Contents?: true
Size: 413 Bytes
Versions: 4
Compression:
Stored size: 413 Bytes
Contents
class CreateSchemaMigrations < Dynomite::Migration include Dynomite::Client def up create_table :schema_migrations do |t| t.partition_key "version:number" # required t.billing_mode "PAY_PER_REQUEST" end end def table_exist?(full_table_name) client.describe_table(table_name: full_table_name) true rescue Aws::DynamoDB::Errors::ResourceNotFoundException false end end
Version data entries
4 entries across 4 versions & 1 rubygems