Sha256: 8a02b73deefb4a64726098fc60d9b85b268d8ea82c1b936369d912a83df230e1

Contents?: true

Size: 419 Bytes

Versions: 174

Compression:

Stored size: 419 Bytes

Contents

class CreateMartyPostings < McflyAppendOnlyMigration
  include Marty::Migrations

  def change
    create_table :marty_postings do |t|
      t.string     :name,         null: false, limit: 255
      t.references :posting_type, null: false
      t.string     :comment,      null: false, limit: 255
    end

    add_mcfly_index :marty_postings,
    :name, :posting_type_id

    add_fk :postings, :posting_types
  end
end

Version data entries

174 entries across 174 versions & 1 rubygems

Version Path
marty-1.0.1 db/migrate/019_create_marty_postings.rb
marty-1.0.0 db/migrate/019_create_marty_postings.rb
marty-0.5.41 db/migrate/019_create_marty_postings.rb
marty-0.5.40 db/migrate/019_create_marty_postings.rb
marty-0.5.39 db/migrate/019_create_marty_postings.rb
marty-0.5.38 db/migrate/019_create_marty_postings.rb
marty-0.5.36 db/migrate/019_create_marty_postings.rb
marty-0.5.35 db/migrate/019_create_marty_postings.rb
marty-0.5.34 db/migrate/019_create_marty_postings.rb
marty-0.5.33 db/migrate/019_create_marty_postings.rb
marty-0.5.32 db/migrate/019_create_marty_postings.rb
marty-0.5.31 db/migrate/019_create_marty_postings.rb
marty-0.5.30 db/migrate/019_create_marty_postings.rb
marty-0.5.29 db/migrate/019_create_marty_postings.rb