a lot of new models ...

Fotogallary, gremien, fetprofil,
This commit is contained in:
Andreas Stephanides
2013-08-19 15:39:56 +02:00
parent a19d708134
commit 34b602e126
107 changed files with 2615 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
class CreateFetprofiles < ActiveRecord::Migration
def change
create_table :fetprofiles do |t|
t.string :vorname
t.string :nachname
t.string :short
t.string :fetmailalias
t.text :desc
t.string :picture
t.boolean :active
t.timestamps
end
end
end

View File

@@ -0,0 +1,11 @@
class CreateGremien < ActiveRecord::Migration
def change
create_table :gremien do |t|
t.string :name
t.text :desc
t.string :typ
t.timestamps
end
end
end

View File

@@ -0,0 +1,13 @@
class CreateMemberships < ActiveRecord::Migration
def change
create_table :memberships do |t|
t.string :fetprofile_id
t.string :gremium_id
t.date :start
t.date :stop
t.string :typ
t.timestamps
end
end
end

View File

@@ -0,0 +1,11 @@
class CreateGalleries < ActiveRecord::Migration
def change
create_table :galleries do |t|
t.string :name
t.text :desc
t.date :datum
t.timestamps
end
end
end

View File

@@ -0,0 +1,12 @@
class CreateFotos < ActiveRecord::Migration
def change
create_table :fotos do |t|
t.string :title
t.text :desc
t.integer :gallery_id
t.string :datei
t.timestamps
end
end
end