Sha256: 6ab7fe2c57d1caa6a5f93e538f2273d0afab9142798585a181fcef0434fc130e

Contents?: true

Size: 396 Bytes

Versions: 166

Compression:

Stored size: 396 Bytes

Contents

class CreateMartyDataGrids < McflyMigration
  include Marty::Migrations

  def change
    table_name = "marty_data_grids"

    create_table table_name do |t|
      t.string :name, null: false
      # 2-dimensional array which holds grid data
      t.jsonb :data
      t.jsonb :metadata
      t.string :data_type, null: true
      t.boolean :lenient, null: false, default: false
    end
  end
end

Version data entries

166 entries across 166 versions & 1 rubygems

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