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-2.1.3 db/migrate/001_create_marty_scripts.rb
marty-2.1.2 db/migrate/001_create_marty_scripts.rb
marty-2.1.1 db/migrate/001_create_marty_scripts.rb
marty-2.1.0 db/migrate/001_create_marty_scripts.rb
marty-2.0.9 db/migrate/001_create_marty_scripts.rb
marty-2.0.8 db/migrate/001_create_marty_scripts.rb
marty-2.0.7 db/migrate/001_create_marty_scripts.rb
marty-2.0.6 db/migrate/001_create_marty_scripts.rb
marty-2.0.5 db/migrate/001_create_marty_scripts.rb
marty-2.0.4 db/migrate/001_create_marty_scripts.rb
marty-2.0.3 db/migrate/001_create_marty_scripts.rb
marty-2.0.2 db/migrate/001_create_marty_scripts.rb
marty-2.0.1 db/migrate/001_create_marty_scripts.rb
marty-2.0.0 db/migrate/001_create_marty_scripts.rb
marty-1.2.9 db/migrate/001_create_marty_scripts.rb
marty-1.2.8 db/migrate/001_create_marty_scripts.rb
marty-1.2.7 db/migrate/001_create_marty_scripts.rb
marty-1.2.6 db/migrate/001_create_marty_scripts.rb
marty-1.2.5 db/migrate/001_create_marty_scripts.rb
marty-1.2.4 db/migrate/001_create_marty_scripts.rb