Sha256: 59cd5eff62738aa71ad39a0ceedd3d899002a7fbf547a25fcc31c768067ecf4f
Contents?: true
Size: 883 Bytes
Versions: 1
Compression:
Stored size: 883 Bytes
Contents
class CreateUnicoRegulatoryActs < ActiveRecord::Migration def change create_table :unico_regulatory_acts do |t| t.string :act_number t.date :creation_date t.date :publication_date t.date :vigor_date t.date :end_date t.text :content t.text :signature_date t.string :classification t.integer :parent_id t.string :budget_change_decree_type t.string :budget_change_law_type t.string :origin t.decimal :additional_percent, precision: 10, scale: 2 t.string :article_number t.text :article_description t.decimal :authorized_value, precision: 10, scale: 2 t.integer :regulatory_act_type t.timestamps end add_foreign_key :unico_regulatory_acts, :unico_regulatory_acts, column: :parent_id add_index :unico_regulatory_acts, :parent_id end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unico-training-7.8.0 | db/migrate/20130702112232_create_unico_regulatory_acts.rb |