Sha256: 3b7dda9b8d528e868e88b49a8b0ff7bc74b7a62d5f2cc38cca0d981a1469e1b5

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 Bytes

Contents

class CreateCitizenBudgetModelOrganizations < ActiveRecord::Migration
  def up
    create_table :citizen_budget_model_organizations do |t|
      t.datetime :deleted_at, index: true
      t.timestamps
    end
    CitizenBudgetModel::Organization.create_translation_table!({
      name: {type: :string, null: false, default: ''},
    })
  end

  def down
    drop_table :citizen_budget_model_organizations
    CitizenBudgetModel::Organization.drop_translation_table!
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 db/migrate/20140730015147_create_citizen_budget_model_organizations.rb
citizen_budget_model-0.0.3 db/migrate/20140730015147_create_citizen_budget_model_organizations.rb
citizen_budget_model-0.0.2 db/migrate/20140730015147_create_citizen_budget_model_organizations.rb
citizen_budget_model-0.0.1 db/migrate/20140730015147_create_citizen_budget_model_organizations.rb