Sha256: a377e2bc5a714b0f1f4098e595569f8c8645c7cd6e74a6de1bf27d5b75b57e03
Contents?: true
Size: 487 Bytes
Versions: 3
Compression:
Stored size: 487 Bytes
Contents
ActiveRecord::Base.connection.execute("DROP TABLE IF EXISTS 'foos'") ActiveRecord::Base.connection.execute("DROP TABLE IF EXISTS 'easy_key_values'") ActiveRecord::Schema.define(:version => 0) do create_table :foos do |t| end create_table :easy_key_values do |t| t.integer :ekv_id t.string :ekv_type t.string :key t.text :value end add_index :easy_key_values, :ekv_id, :name => 'ekv_id_ix' add_index :easy_key_values, :value, :name => 'value_ix' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
easy_key_value-0.1.2 | test/schema.rb |
easy_key_value-0.1.1 | test/schema.rb |
easy_key_value-0.1.0 | test/schema.rb |