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.0.46 db/migrate/001_create_marty_scripts.rb
marty-1.0.44 db/migrate/001_create_marty_scripts.rb
marty-1.0.43 db/migrate/001_create_marty_scripts.rb
marty-1.0.42 db/migrate/001_create_marty_scripts.rb
marty-1.0.41 db/migrate/001_create_marty_scripts.rb
marty-1.0.39 db/migrate/001_create_marty_scripts.rb
marty-1.0.38 db/migrate/001_create_marty_scripts.rb
marty-1.0.37 db/migrate/001_create_marty_scripts.rb
marty-1.0.36 db/migrate/001_create_marty_scripts.rb
marty-1.0.35 db/migrate/001_create_marty_scripts.rb
marty-1.0.34 db/migrate/001_create_marty_scripts.rb
marty-1.0.33 db/migrate/001_create_marty_scripts.rb
marty-1.0.32 db/migrate/001_create_marty_scripts.rb
marty-1.0.31 db/migrate/001_create_marty_scripts.rb
marty-1.0.30 db/migrate/001_create_marty_scripts.rb
marty-1.0.29 db/migrate/001_create_marty_scripts.rb
marty-1.0.28 db/migrate/001_create_marty_scripts.rb
marty-1.0.27 db/migrate/001_create_marty_scripts.rb
marty-1.0.26 db/migrate/001_create_marty_scripts.rb
marty-1.0.25 db/migrate/001_create_marty_scripts.rb