kaps_app/db/migrate/0070_create_portlets.rb
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +01:00

20 lines
331 B
Ruby

# -*- encoding : utf-8 -*-
class CreatePortlets < ActiveRecord::Migration
def self.up
create_table :portlets do |t|
t.references :block
t.integer :content_id
t.string :content_type
t.integer :position
t.timestamps
end
end
def self.down
drop_table :portlets
end
end