Sha256: 29fcfc2ab736a44fe18b22ca753be4353b07003cb440d7070775634f6373698d
Contents?: true
Size: 840 Bytes
Versions: 40
Compression:
Stored size: 840 Bytes
Contents
class CreateEasyMLColumns < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change create_table :easy_ml_columns do |t| t.bigint :dataset_id, null: false t.string :name, null: false t.string :description t.string :datatype # The symbol representation (e.g., 'float', 'integer') t.string :polars_datatype # The full Polars class name (e.g., 'Polars::Float64') t.boolean :is_target t.boolean :hidden, default: false t.boolean :drop_if_null, default: false t.json :preprocessing_steps t.json :sample_values # Store up to 3 sample values t.json :statistics t.timestamps t.index [:dataset_id, :name], unique: true t.index :datatype t.index :hidden t.index :drop_if_null t.index :is_target end end end
Version data entries
40 entries across 40 versions & 1 rubygems