Sha256: fb0f1246386524664cbec552effd5475ec79640064fe6f4546dc883df40263ea
Contents?: true
Size: 450 Bytes
Versions: 8
Compression:
Stored size: 450 Bytes
Contents
require 'marty/migrations' class CreateMartyPostings < McflyAppendOnlyMigration include Marty::Migrations def change create_table :marty_postings do |t| t.string :name, null: false t.references :posting_type, null: false t.boolean :is_test, null: false t.string :comment, null: false end add_mcfly_index :marty_postings, :name, :posting_type_id, :is_test add_fk :postings, :posting_types end end
Version data entries
8 entries across 4 versions & 1 rubygems