calendar feature generiert
This commit is contained in:
12
db/migrate/20130805191709_create_calentries.rb
Normal file
12
db/migrate/20130805191709_create_calentries.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateCalentries < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :calentries do |t|
|
||||
t.timestamp :start
|
||||
t.timestamp :ende
|
||||
t.string :summary
|
||||
t.integer :typ
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
10
db/migrate/20130805191817_create_calendars.rb
Normal file
10
db/migrate/20130805191817_create_calendars.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateCalendars < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :calendars do |t|
|
||||
t.string :name
|
||||
t.boolean :public
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user