Sha256: d5c08e15ab37d503c7ad5b350bf58221d11859743ac7a3323d464fa14a170121

Contents?: true

Size: 258 Bytes

Versions: 174

Compression:

Stored size: 258 Bytes

Contents

class CreateMartyScripts < McflyMigration
  include Marty::Migrations

  def change
    create_table :marty_scripts do |t|
      t.string :name, null: false, limit: 255
      t.text   :body, null: false
    end

    add_mcfly_index :scripts, :name
  end
end

Version data entries

174 entries across 174 versions & 1 rubygems

Version Path
marty-14.3.0 db/migrate/001_create_marty_scripts.rb
marty-14.0.0 db/migrate/001_create_marty_scripts.rb
marty-13.0.2 db/migrate/001_create_marty_scripts.rb
marty-11.0.0 db/migrate/001_create_marty_scripts.rb
marty-10.0.3 db/migrate/001_create_marty_scripts.rb
marty-10.0.2 db/migrate/001_create_marty_scripts.rb
marty-10.0.0 db/migrate/001_create_marty_scripts.rb
marty-9.5.1 db/migrate/001_create_marty_scripts.rb
marty-9.5.0 db/migrate/001_create_marty_scripts.rb
marty-9.3.3 db/migrate/001_create_marty_scripts.rb
marty-9.3.2 db/migrate/001_create_marty_scripts.rb
marty-9.3.0 db/migrate/001_create_marty_scripts.rb
marty-8.5.0 db/migrate/001_create_marty_scripts.rb
marty-8.4.1 db/migrate/001_create_marty_scripts.rb
marty-8.3.1 db/migrate/001_create_marty_scripts.rb
marty-8.2.0 db/migrate/001_create_marty_scripts.rb
marty-8.0.0 db/migrate/001_create_marty_scripts.rb
marty-6.1.0 db/migrate/001_create_marty_scripts.rb
marty-5.2.0 db/migrate/001_create_marty_scripts.rb
marty-5.1.4 db/migrate/001_create_marty_scripts.rb