Module: Arfy::MigrationBuilder
- Defined in:
- lib/arfy/migration_builder.rb,
lib/arfy/migration_builder/builders/column.rb,
lib/arfy/migration_builder/template_handler.rb,
lib/arfy/migration_builder/generic_migration.rb,
lib/arfy/migration_builder/builders/add_index.rb,
lib/arfy/migration_builder/builders/add_column.rb,
lib/arfy/migration_builder/builders/drop_table.rb,
lib/arfy/migration_builder/builders/create_table.rb,
lib/arfy/migration_builder/builders/remove_index.rb,
lib/arfy/migration_builder/builders/rename_table.rb,
lib/arfy/migration_builder/builders/change_column.rb,
lib/arfy/migration_builder/builders/remove_column.rb,
lib/arfy/migration_builder/builders/rename_column.rb
Defined Under Namespace
Modules: Reversible Classes: AddColumn, AddIndex, Builder, ChangeColumn, Column, ColumnMigration, CreateTable, DropTable, ERBBinder, GenericMigration, InvalidColumnTypeError, MigrationTemplateNotFoundError, Option, RemoveColumn, RemoveIndex, RenameColumn, RenameTable, TemplateHandler
Constant Summary collapse
- COLUMN_VALID_TYPES =
[:primary_key, :string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean].to_enum
- COLUMN_VALID_OPTIONS =
[:limit, :default, :null, :precision, :scale].to_enum