Sha256: f6b7bd621fbbeb26ef8d6206daf05c73dfd7cd7970a761f0f0b6541138928105
Contents?: true
Size: 466 Bytes
Versions: 16
Compression:
Stored size: 466 Bytes
Contents
class FileBasedThemes < Landable::Migration def up change_table "#{Landable.configuration.database_schema_prefix}landable.themes" do |t| t.text :file t.text :extension t.boolean :editable, null: false, default: true end execute "CREATE UNIQUE INDEX #{Landable.configuration.database_schema_prefix}landable_themes__u_file ON #{Landable.configuration.database_schema_prefix}landable.themes(lower(file))" end end
Version data entries
16 entries across 16 versions & 1 rubygems