mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-08 05:32:37 +01:00
Removed outer tracks directory.
This commit is contained in:
parent
649f4a44a4
commit
20940ff348
2274 changed files with 0 additions and 0 deletions
15
db/migrate/004_notes.rb
Normal file
15
db/migrate/004_notes.rb
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
class Notes < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :notes do |t|
|
||||
t.column :user_id, :integer, :null => false
|
||||
t.column :project_id, :integer, :null => false
|
||||
t.column :body, :text
|
||||
t.column :created_at, :datetime
|
||||
t.column :updated_at, :datetime
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :notes
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue