Removed superfluous 'tracks' directory at the root of the repository.

Testing commits to github.
This commit is contained in:
bsag 2008-05-20 21:28:26 +01:00
parent 6a42901514
commit 4cbf5a34d3
2269 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,41 @@
# Verision 1.0.3 database
class CreateTracksDb < ActiveRecord::Migration
def self.up
create_table :contexts do |t|
t.column :name, :string, :null => false
t.column :position, :integer, :null => false
t.column :hide, :boolean, :default => false
end
create_table :projects do |t|
t.column :name, :string, :null => false
t.column :position, :integer, :null => false
t.column :done, :boolean, :default => false
end
create_table :todos do |t|
t.column :context_id, :integer, :null => false
t.column :project_id, :integer
t.column :description, :string, :null => false
t.column :notes, :text
t.column :done, :boolean, :default => false, :null => false
t.column :created, :datetime
t.column :due, :date
t.column :completed, :datetime
end
create_table :users do |t|
t.column :login, :string, :limit => 80, :null => false
t.column :password, :string, :limit => 40, :null => false
t.column :word, :string
t.column :is_admin, :boolean, :default => false, :null => false
end
end
def self.down
drop_table :contexts
drop_table :projects
drop_table :todos
drop_table :users
end
end