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-1.2.3 db/migrate/001_create_marty_scripts.rb
marty-1.2.2 db/migrate/001_create_marty_scripts.rb
marty-1.2.1 db/migrate/001_create_marty_scripts.rb
marty-1.2.0 db/migrate/001_create_marty_scripts.rb
marty-1.1.9 db/migrate/001_create_marty_scripts.rb
marty-1.1.8 db/migrate/001_create_marty_scripts.rb
marty-1.1.7 db/migrate/001_create_marty_scripts.rb
marty-1.1.6 db/migrate/001_create_marty_scripts.rb
marty-1.1.5 db/migrate/001_create_marty_scripts.rb
marty-1.1.4 db/migrate/001_create_marty_scripts.rb
marty-1.1.3 db/migrate/001_create_marty_scripts.rb
marty-1.1.2 db/migrate/001_create_marty_scripts.rb
marty-1.1.1 db/migrate/001_create_marty_scripts.rb
marty-1.0.54 db/migrate/001_create_marty_scripts.rb
marty-1.0.53 db/migrate/001_create_marty_scripts.rb
marty-1.0.52 db/migrate/001_create_marty_scripts.rb
marty-1.0.51 db/migrate/001_create_marty_scripts.rb
marty-1.0.50 db/migrate/001_create_marty_scripts.rb
marty-1.0.48 db/migrate/001_create_marty_scripts.rb
marty-1.0.47 db/migrate/001_create_marty_scripts.rb