diff options
| author | Michel Etienne | 2012-06-04 15:52:32 +0200 |
|---|---|---|
| committer | Michel Etienne | 2012-06-04 15:52:32 +0200 |
| commit | 3dc257c6f68f075799adfb3083f578b9639d3dce (patch) | |
| tree | e4c1daaad69bf141964cb8d5d257208985131042 /db | |
| parent | 6163c10aa33d62e735d63aae7df796f0152ad3cc (diff) | |
| download | chouette-core-3dc257c6f68f075799adfb3083f578b9639d3dce.tar.bz2 | |
add fields to referentials and update textiles
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20120523123806_add_fields_to_referentials.rb | 7 | ||||
| -rw-r--r-- | db/schema.rb | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20120523123806_add_fields_to_referentials.rb b/db/migrate/20120523123806_add_fields_to_referentials.rb new file mode 100644 index 000000000..3958ed106 --- /dev/null +++ b/db/migrate/20120523123806_add_fields_to_referentials.rb @@ -0,0 +1,7 @@ +class AddFieldsToReferentials < ActiveRecord::Migration + def change + add_column :referentials, :prefix, :string + add_column :referentials, :projection_type, :string + add_column :referentials, :time_zone, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index d8532b785..da51bd062 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -269,6 +269,9 @@ ActiveRecord::Schema.define(:version => 20120531091529) do t.string "slug" t.datetime "created_at" t.datetime "updated_at" + t.string "prefix" + t.string "projection_type" + t.string "time_zone" end create_table "routes", :force => true do |t| |
