Sha256: 2013eff5ab65339657dbe3614f92b1910993f4427ee49b5e8684e3997e4ae3c3
Contents?: true
Size: 486 Bytes
Versions: 14
Compression:
Stored size: 486 Bytes
Contents
class AddUpdateableViewsInheritance < ActiveRecord::Migration def self.up create_table(:updateable_views_inheritance, :id => false) do |t| t.column :parent_relation, :string t.column :child_aggregate_view, :string t.column :child_relation, :string end execute "ALTER TABLE updateable_views_inheritance ADD PRIMARY KEY (parent_relation, child_aggregate_view, child_relation)" end def self.down drop_table :updateable_views_inheritance end end
Version data entries
14 entries across 14 versions & 1 rubygems