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-2.4.3 db/migrate/019_create_marty_postings.rb
marty-2.4.2 db/migrate/019_create_marty_postings.rb
marty-2.4.1 db/migrate/019_create_marty_postings.rb
marty-2.4.0 db/migrate/019_create_marty_postings.rb
marty-2.3.15 db/migrate/019_create_marty_postings.rb
marty-2.3.14 db/migrate/019_create_marty_postings.rb
marty-2.3.13 db/migrate/019_create_marty_postings.rb
marty-2.3.12 db/migrate/019_create_marty_postings.rb
marty-2.3.11 db/migrate/019_create_marty_postings.rb
marty-2.3.10 db/migrate/019_create_marty_postings.rb
marty-2.3.9 db/migrate/019_create_marty_postings.rb
marty-2.3.8 db/migrate/019_create_marty_postings.rb
marty-2.3.7 db/migrate/019_create_marty_postings.rb
marty-2.3.5 db/migrate/019_create_marty_postings.rb
marty-2.3.4 db/migrate/019_create_marty_postings.rb
marty-2.1.5 db/migrate/019_create_marty_postings.rb
marty-2.3.2 db/migrate/019_create_marty_postings.rb
marty-2.3.1 db/migrate/019_create_marty_postings.rb
marty-2.3.0 db/migrate/019_create_marty_postings.rb
marty-2.1.4 db/migrate/019_create_marty_postings.rb