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-14.3.0 db/migrate/019_create_marty_postings.rb
marty-14.0.0 db/migrate/019_create_marty_postings.rb
marty-13.0.2 db/migrate/019_create_marty_postings.rb
marty-11.0.0 db/migrate/019_create_marty_postings.rb
marty-10.0.3 db/migrate/019_create_marty_postings.rb
marty-10.0.2 db/migrate/019_create_marty_postings.rb
marty-10.0.0 db/migrate/019_create_marty_postings.rb
marty-9.5.1 db/migrate/019_create_marty_postings.rb
marty-9.5.0 db/migrate/019_create_marty_postings.rb
marty-9.3.3 db/migrate/019_create_marty_postings.rb
marty-9.3.2 db/migrate/019_create_marty_postings.rb
marty-9.3.0 db/migrate/019_create_marty_postings.rb
marty-8.5.0 db/migrate/019_create_marty_postings.rb
marty-8.4.1 db/migrate/019_create_marty_postings.rb
marty-8.3.1 db/migrate/019_create_marty_postings.rb
marty-8.2.0 db/migrate/019_create_marty_postings.rb
marty-8.0.0 db/migrate/019_create_marty_postings.rb
marty-6.1.0 db/migrate/019_create_marty_postings.rb
marty-5.2.0 db/migrate/019_create_marty_postings.rb
marty-5.1.4 db/migrate/019_create_marty_postings.rb