diff options
Diffstat (limited to 'projects/devdashboard/db/migrate/001_create_developers.rb')
-rw-r--r-- | projects/devdashboard/db/migrate/001_create_developers.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/projects/devdashboard/db/migrate/001_create_developers.rb b/projects/devdashboard/db/migrate/001_create_developers.rb new file mode 100644 index 0000000..272810e --- /dev/null +++ b/projects/devdashboard/db/migrate/001_create_developers.rb @@ -0,0 +1,23 @@ +class CreateDevelopers < ActiveRecord::Migration + def self.up + create_table :developers do |t| + t.column :nickname, :string + + t.column :roles, :string + t.column :realname, :string + t.column :location, :string + t.column :pgpkey, :string + + t.column :hackergotchi, :string + + t.column :forum_handle, :string + + t.column :status, :string + t.column :joined_on, :date + end + end + + def self.down + drop_table :developers + end +end |