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.6.4 db/migrate/001_create_marty_scripts.rb
marty-2.6.3 db/migrate/001_create_marty_scripts.rb
marty-2.6.2 db/migrate/001_create_marty_scripts.rb
marty-2.6.1 db/migrate/001_create_marty_scripts.rb
marty-2.6.0 db/migrate/001_create_marty_scripts.rb
marty-2.5.9 db/migrate/001_create_marty_scripts.rb
marty-2.5.8 db/migrate/001_create_marty_scripts.rb
marty-2.5.7 db/migrate/001_create_marty_scripts.rb
marty-2.5.6 db/migrate/001_create_marty_scripts.rb
marty-2.5.5 db/migrate/001_create_marty_scripts.rb
marty-2.5.4 db/migrate/001_create_marty_scripts.rb
marty-2.5.2 db/migrate/001_create_marty_scripts.rb
marty-2.5.1 db/migrate/001_create_marty_scripts.rb
marty-2.5.0 db/migrate/001_create_marty_scripts.rb
marty-2.4.9 db/migrate/001_create_marty_scripts.rb
marty-2.4.8 db/migrate/001_create_marty_scripts.rb
marty-2.4.7 db/migrate/001_create_marty_scripts.rb
marty-2.4.6 db/migrate/001_create_marty_scripts.rb
marty-2.4.5 db/migrate/001_create_marty_scripts.rb
marty-2.4.4 db/migrate/001_create_marty_scripts.rb