diff options
| author | Alban Peignier | 2012-05-16 16:55:57 +0200 |
|---|---|---|
| committer | Alban Peignier | 2012-05-16 16:55:57 +0200 |
| commit | 39a4249b8c5197cfee6b8eb4673485628408e07a (patch) | |
| tree | 61619db5ea5e722b2c7752bbfc914f5a7a859fdd /db | |
| parent | a2260f9d3737188d22504f705825ed5a846bb861 (diff) | |
| download | chouette-core-39a4249b8c5197cfee6b8eb4673485628408e07a.tar.bz2 | |
Create first Imports. Refs #23
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20120515134710_create_imports.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20120515134710_create_imports.rb b/db/migrate/20120515134710_create_imports.rb new file mode 100644 index 000000000..5da398fc9 --- /dev/null +++ b/db/migrate/20120515134710_create_imports.rb @@ -0,0 +1,11 @@ +class CreateImports < ActiveRecord::Migration + def change + create_table :imports do |t| + t.belongs_to :referential + t.string :status + + t.timestamps + end + add_index :imports, :referential_id + end +end |
