Sha256: f81677065319685a5a3d23f1c0f388c7e7a0c6df7863e8bc3c114ace7c2bd0c0
Contents?: true
Size: 343 Bytes
Versions: 8
Compression:
Stored size: 343 Bytes
Contents
class CreateMongoDbDocuments < ActiveRecord::Migration def change create_table :mongo_db_documents do |t| t.integer :mongo_db_object_id t.string :klass_name t.string :name t.string :slug t.timestamps end add_index :mongo_db_documents, [:mongo_db_object_id, :klass_name], unique: true end end
Version data entries
8 entries across 8 versions & 1 rubygems