diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-21 20:27:36 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-21 20:27:36 -0700 |
| commit | fbb41be394f841ce0878eb0512fbacff1a588ab7 (patch) | |
| tree | 97e6a977598e49c24f7765335077eaa504209e64 /db | |
| parent | 5d937942170c81bcb2304cab1c71eefda48e4e35 (diff) | |
add confidential well license status.
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20140222032401_add_confidential_to_licenses.rb | 5 | ||||
| -rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20140222032401_add_confidential_to_licenses.rb b/db/migrate/20140222032401_add_confidential_to_licenses.rb new file mode 100644 index 0000000..7d752c8 --- /dev/null +++ b/db/migrate/20140222032401_add_confidential_to_licenses.rb @@ -0,0 +1,5 @@ +class AddConfidentialToLicenses < ActiveRecord::Migration + def change + add_column :licenses, :confidential, :boolean, default: false + end +end diff --git a/db/schema.rb b/db/schema.rb index b359b4b..453bf07 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20140221135224) do +ActiveRecord::Schema.define(version: 20140222032401) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -29,6 +29,7 @@ ActiveRecord::Schema.define(version: 20140221135224) do t.datetime "issued_at" t.datetime "expired_at" t.uuid "company_id" + t.boolean "confidential", default: false end end |
