Sha256: 87c8bb9dbc3afd75e532acd050ac846324d4afaf86b38ddb6c17469542dc2d17
Contents?: true
Size: 600 Bytes
Versions: 66
Compression:
Stored size: 600 Bytes
Contents
class CreateTasks < ActiveRecord::Migration def self.up create_table :backlogs do |table| table.column :name, :string, :limit => 32, :null => false end create_table :tasks do |table| table.column :position, :integer, :null => true table.column :description, :string, :limit => 80, :null => false table.column :assigned_to, :integer table.column :estimate, :time table.column :finished_at, :datetime table.column :backlog_id, :integer, :null => false end end def self.down drop_table :tasks drop_table :backlogs end end
Version data entries
66 entries across 66 versions & 1 rubygems